Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for timers (0.05 sec)

  1. android/guava/src/com/google/common/collect/MapMaker.java

     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        protected long commandDestroyTimeout = 5 * 1000L;// 5sec
    
        /** Base directory for command execution. */
        protected File baseDir;
    
        /** Timer for managing process destruction. */
        private Timer destoryTimer;
    
        /**
         * Default constructor for CommandGenerator.
         */
        public CommandGenerator() {
            super();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/exec/Crawler.java

    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.core.misc.DynamicProperties;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.app.service.CrawlingInfoService;
    import org.codelibs.fess.app.service.PathMappingService;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

      }
    
      public void testServiceStartupTimes_selfStartingServices() {
        // This tests to ensure that:
        // 1. service times are accurate when the service is started by the manager
        // 2. service times are recorded when the service is not started by the manager (but they may
        // not be accurate).
        Service b =
            new NoOpDelayedService(353) {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

            // Test toggling ShowReport multiple times
            assertFalse(valve.isShowReport());
    
            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
            valve.setShowReport(false);
            assertFalse(valve.isShowReport());
    
            valve.setShowReport(true);
            assertTrue(valve.isShowReport());
    
            // Test toggling ShowServerInfo multiple times
            assertFalse(valve.isShowServerInfo());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Arrays;
    import java.util.function.Supplier;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    import org.apache.commons.text.StringEscapeUtils;
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.Constants;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    /**
     * Test class for HotThreadMonitorTarget.
     */
    public class HotThreadMonitorTargetTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/CacheStats.java

       * used to calculate the miss penalty. This value is increased every time {@code loadSuccessCount}
       * or {@code loadExceptionCount} is incremented.
       */
      @SuppressWarnings("GoodTime") // should return a java.time.Duration
      public long totalLoadTime() {
        return totalLoadTime;
      }
    
      /**
       * Returns the average time spent loading new values. This is defined as {@code totalLoadTime /
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import java.lang.reflect.Method;
    
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    /**
     * Test class for SystemMonitorTarget.
     */
    public class SystemMonitorTargetTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top