Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for interrupt (0.18 sec)

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

        Future<?> scheduled = executorService.schedule(task, delay, timeUnit);
        /*
         * Even when the user interrupts the task, we pass `false` to `cancel` so that we don't
         * interrupt a second time after the interruption performed by TrustedListenableFutureTask.
         */
        task.addListener(() -> scheduled.cancel(false), directExecutor());
        return task;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        Thread.interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        Thread.interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

     *  Fix: Reverse suppression of connect exceptions. When both a call and its retry fail, we now
        throw the initial exception which is most likely to be actionable.
     *  Fix: Retain interrupted state when throwing `InterruptedIOException`. A single interrupt should
        now be sufficient to break out an in-flight OkHttp call.
     *  Fix: Don't drop a call to `EventListener.callEnd()` when the response body is consumed inside an
        interceptor.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      @CanIgnoreReturnValue
      @SuppressWarnings("Interruption") // We are propagating an interrupt from a caller.
      public boolean cancel(boolean mayInterruptIfRunning) {
        logger.get().log(FINER, "cancelling {0}", this);
        boolean cancelled = future.cancel(mayInterruptIfRunning);
        if (cancelled) {
          close();
        }
        return cancelled;
      }
    
      private void close() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/main/resources/crawler/extractor.xml

    				"application/vnd.immervision-ivu",
    				"application/vnd.informedcontrol.rms+xml",
    				"application/vnd.informix-visionary",
    				"application/vnd.intercon.formnet",
    				"application/vnd.intertrust.digibox",
    				"application/vnd.intertrust.nncp",
    				"application/vnd.intu.qbo",
    				"application/vnd.intu.qfx",
    				"application/vnd.iptc.g2.conceptitem+xml",
    				"application/vnd.iptc.g2.knowledgeitem+xml",
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 50.1K bytes
    - Viewed (0)
  7. okhttp/api/jvm/okhttp.api

    	public fun <init> ([Lokhttp3/CompressionInterceptor$DecompressionAlgorithm;)V
    	public final fun getAlgorithms ()[Lokhttp3/CompressionInterceptor$DecompressionAlgorithm;
    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    }
    
    public abstract interface class okhttp3/CompressionInterceptor$DecompressionAlgorithm {
    	public abstract fun decompress (Lokio/BufferedSource;)Lokio/Source;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  8. okhttp/api/android/okhttp.api

    	public fun <init> ([Lokhttp3/CompressionInterceptor$DecompressionAlgorithm;)V
    	public final fun getAlgorithms ()[Lokhttp3/CompressionInterceptor$DecompressionAlgorithm;
    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    }
    
    public abstract interface class okhttp3/CompressionInterceptor$DecompressionAlgorithm {
    	public abstract fun decompress (Lokio/BufferedSource;)Lokio/Source;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                            }
                            break;
                        } catch (final InterruptedException e) {
                            final InterruptedIOException ie = new InterruptedIOException("Interrupted while acquiring credits");
                            ie.initCause(e);
                            throw ie;
                        }
                    } else {
                        // not enough credits available or too big, split
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val client2 =
          client
            .newBuilder()
            .addNetworkInterceptor(
              object : Interceptor {
                var executedCall = false
    
                override fun intercept(chain: Interceptor.Chain): Response {
                  if (!executedCall) {
                    // At this point, we have a healthy HTTP/2 connection. This call will trigger the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
Back to top