Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 356 for Timeouts (0.1 sec)

  1. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

             * @param process The process to monitor.
             * @param timeout The timeout duration in milliseconds.
             */
            public MonitorThread(final Process process, final long timeout) {
                this.process = process;
                this.timeout = timeout;
            }
    
            /**
             * Runs the monitor thread, sleeping for the timeout duration and terminating the process if needed.
             */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Test
      fun timeoutWritingRequestWithEnqueue() {
        server.enqueue(MockResponse())
        val request =
          Request
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java

        }
    
        /**
         * Sets the scroll timeout.
         * @param timeout The scroll timeout.
         * @return This builder instance.
         */
        public SuggestSettingsBuilder scrollTimeout(final String timeout) {
            timeoutSettings.setScrollTimeout(timeout);
            return this;
        }
    
        /**
         * Sets the search timeout.
         * @param timeout The search timeout.
         * @return This builder instance.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:10:16 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                this.indexTimeout = timeout;
            }
    
            /**
             * Sets the bulk timeout.
             * @param timeout The bulk timeout.
             */
            public void setBulkTimeout(final String timeout) {
                this.bulkTimeout = timeout;
            }
    
            /**
             * Sets the indices timeout.
             * @param timeout The indices timeout.
             */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Queues.java

          throws InterruptedException {
        return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS);
      }
    
      /**
       * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
       * numElements} elements are not available, it will wait for them up to the specified timeout.
       *
       * @param q the blocking queue to be drained
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Nov 04 17:24:58 UTC 2025
    - 18K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

         * all must complete within one timeout period.
         *
         * The default value is 0 which imposes no timeout.
         */
        fun callTimeout(
          timeout: Long,
          unit: TimeUnit,
        ) = apply {
          callTimeout = checkDuration("timeout", timeout, unit)
        }
    
        /**
         * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise values
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

      /**
       * @since 28.0
       */
      @Override
      public final void awaitRunning(Duration timeout) throws TimeoutException {
        Service.super.awaitRunning(timeout);
      }
    
      /**
       * @since 15.0
       */
      @Override
      public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
        delegate.awaitRunning(timeout, unit);
      }
    
      /**
       * @since 15.0
       */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
      public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerLast(e, timeout, unit);
      }
    
      @Override
      public E takeFirst() throws InterruptedException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

            check(currentPart == this) { "closed" }
    
            return source.timeout().intersectWith(timeout) {
              when (val limit = currentPartBytesRemaining(maxByteCount = byteCount)) {
                0L -> -1L // No more bytes in this part.
                else -> source.read(sink, limit)
              }
            }
          }
    
          override fun timeout(): Timeout = timeout
        }
    
        /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

          assertEquals(method, lastMethodCalled);
        }
    
        void assertMethodWithTimeout(String method, long timeout, TimeUnit unit) {
          assertLastMethodCalled(method + "Timeout");
          assertEquals(unit.toMillis(timeout), lastTimeoutInMillis);
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          lastMethodCalled = "awaitTermination";
          return false;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top