Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 807 for timeIt (0.41 sec)

  1. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Scenario 2: Command timeout
            CommandExecutionException timeout =
                    new CommandExecutionException("Command execution timed out after 30 seconds", new RuntimeException("Timeout"));
            assertTrue(timeout.getMessage().contains("timed out"));
            assertNotNull(timeout.getCause());
    
            // Scenario 3: Permission denied
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private final AbstractFuture<?> future;
        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        private final boolean permanent;
    
        private long startTime;
    
        private int status = ACTIVE;
    
        TimeoutTask(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) {
            this.timeoutTarget = timeoutTarget;
            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * Returns whether the task has expired.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                long t0 = System.nanoTime();
                while (waitingThreads() != numThreads - 1) {
                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

      }
    
      /**
       * Duration-based overload of {@link #invokeAny(Collection, long, TimeUnit)}.
       *
       * @since 32.1.0
       */
      @J2ktIncompatible
      default <T extends @Nullable Object> T invokeAny(
          Collection<? extends Callable<T>> tasks, Duration timeout)
          throws InterruptedException, ExecutionException, TimeoutException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                        .setInterval(interval)
                        .setThreads(threads)
                        .setTimeout(timeout)
                        .setType(type)
                        .execute()
                        .actionGet(timeout);
                append(buf, "cluster_name", () -> response.getClusterName().value()).append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        protected List<String> pageNumberList;
    
        /** Flag indicating whether the results are partial due to timeout or other issues. */
        protected boolean partialResults;
    
        /** The actual search query executed against the search engine. */
        protected String searchQuery;
    
        /** Time taken to execute the search query in milliseconds. */
        protected long queryTime;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.time.LocalDateTime;
    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.concurrent.atomic.AtomicBoolean;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

            return allRecordCountRelation;
        }
    
        /**
         * Gets the time taken to execute the search query.
         *
         * @return The query execution time in milliseconds
         */
        public long getQueryTime() {
            return queryTime;
        }
    
        /**
         * Checks whether the search results are partial due to timeout or other constraints.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top