Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 444 for timeout (0.07 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean {
      return try {
        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

        }
    
        public ExecJob logSuffix(final String logSuffix) {
            this.logSuffix = logSuffix.trim().replaceAll("\\s", "_");
            return this;
        }
    
        public ExecJob timeout(final int timeout) {
            this.timeout = timeout;
            return this;
        }
    
        public ExecJob useLocalFesen(final boolean useLocalFesen) {
            this.useLocalFesen = useLocalFesen;
            return this;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

            if (value != null) {
                extractData.putValue(name, value);
            }
        }
    
        public long getTimeout() {
            return timeout;
        }
    
        public void setTimeout(final long timeout) {
            this.timeout = timeout;
        }
    
        public void setDaemonThread(final boolean isDaemonThread) {
            this.isDaemonThread = isDaemonThread;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex_test.go

    	if !drwm1.GetRLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	drwm2 := NewDRWMutex(ds, "simplelock")
    	ctx2, cancel2 := context.WithCancel(context.Background())
    	if !drwm2.GetRLock(ctx2, cancel2, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire read lock")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/testdata/describe/http_config.json

                          "case_sensitive": true
                        },
                        "route": {
                          "cluster": "outbound|9080||productpage.default.svc.cluster.local",
                          "timeout": "0s",
                          "retry_policy": {
                            "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                            "num_retries": 2,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            private final Process process;
    
            private final long timeout;
    
            private boolean finished = false;
    
            private boolean teminated = false;
    
            public MonitorThread(final Process process, final long timeout) {
                this.process = process;
                this.timeout = timeout;
            }
    
            @Override
            public void run() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

        this.session = session;
        this.notifyAll();
      }
    
      /** Waits for an OAuth session for this client to be set. */
      public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException {
        while (session == null) {
          timeout.waitUntilNotified(this);
        }
      }
    
      /** Starts a real time messaging session. */
      public void startRtm() throws IOException {
        String accessToken;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * specified {@code timeout}, or returns {@code false} immediately (without waiting) if the permit
       * would not have been granted before the timeout expired.
       *
       * <p>This method is equivalent to {@code tryAcquire(1, timeout)}.
       *
       * @param timeout the maximum time to wait for the permit. Negative values are treated as zero.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *     annotation type, rather than an interface
       * @since 28.0
       */
      default <T> T newProxy(T target, Class<T> interfaceType, Duration timeout) {
        return newProxy(target, interfaceType, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top