Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 356 for ontimeout (0.27 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals("", execJob.lastaEnv);
    
            // Test with very long timeout
            execJob.timeout(Integer.MAX_VALUE);
            assertEquals(Integer.MAX_VALUE, execJob.timeout);
    
            // Test with minimum timeout
            execJob.timeout(Integer.MIN_VALUE);
            assertEquals(Integer.MIN_VALUE, execJob.timeout);
        }
    
        // Test exception handling in execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Queues.java

      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
        return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS);
      }
    
      /**
       * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

        fun connectTimeoutMillis(): Int
    
        fun withConnectTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
    
        fun readTimeoutMillis(): Int
    
        fun withReadTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
    
        fun writeTimeoutMillis(): Int
    
        fun withWriteTimeout(
          timeout: Int,
          unit: TimeUnit,
        ): Chain
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

      void awaitRunning();
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#RUNNING running state} for no more
       * than the given time.
       *
       * @param timeout the maximum time to wait
       * @param unit the time unit of the timeout argument
       * @throws TimeoutException if the service has not reached the given state within the deadline
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/core/timer/TimeoutManager.java

         *
         * @param timeoutTarget the target
         * @param timeout the timeout duration
         * @param permanent whether the task is permanent
         * @return the {@link TimeoutTask}
         */
        public synchronized TimeoutTask addTimeoutTarget(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) {
            final TimeoutTask task = new TimeoutTask(timeoutTarget, timeout, permanent);
            timeoutTaskList.addLast(task);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

      @Override
      protected abstract ExecutorService delegate();
    
      @CheckReturnValue
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().awaitTermination(timeout, unit);
      }
    
      @Override
      public <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks) throws InterruptedException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean smbTcpNoDelay = false;
        /** Response timeout in milliseconds for SMB operations */
        protected int smbResponseTimeout = SmbConstants.DEFAULT_RESPONSE_TIMEOUT;
        /** Socket timeout in milliseconds for SMB connections */
        protected int smbSocketTimeout = SmbConstants.DEFAULT_SO_TIMEOUT;
        /** Connection timeout in milliseconds for establishing SMB connections */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            // After update, should not be expired with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Verify heartbeat was actually updated
            assertTrue(registration.getLastHeartbeat() > initialTime);
        }
    
        @Test
        void testExpiration() throws InterruptedException {
            // Registration should not be expired initially with long timeout
            assertFalse(registration.isExpired(60000));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top