Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 337 for timers (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *     ordered by startup time.
       */
      public ImmutableMap<Service, Long> startupTimes() {
        return state.startupTimes();
      }
    
      /**
       * Returns the service load times. This value will only return startup times for services that
       * have finished starting.
       *
       * @return Map of services and their corresponding startup time, the map entries will be ordered
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/util/concurrent/Monitor.java

       */
      public boolean enterWhen(Guard guard, Duration time) throws InterruptedException {
        return enterWhen(guard, toNanosSaturated(time), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Enters this monitor when the guard is satisfied. Blocks at most the given time, including both
       * the time to acquire the lock and the time to wait for the guard to be satisfied, and may be
       * interrupted.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K 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. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      }
    
      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top