Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 184 for InterruptedException (0.14 sec)

  1. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

      }
    
      @Override
      public void putFirst(E e) throws InterruptedException {
        delegate().putFirst(e);
      }
    
      @Override
      public void putLast(E e) throws InterruptedException {
        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

       * timeoutMillis()}.
       */
      void assertThreadStaysAlive(Thread thread) throws InterruptedException {
        assertThreadStaysAlive(thread, timeoutMillis());
      }
    
      /** Checks that thread does not terminate within the given millisecond delay. */
      void assertThreadStaysAlive(Thread thread, long millis) throws InterruptedException {
        // No need to optimize the failing case via Thread.join.
        delay(millis);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doHead("smb://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

                @Override
                protected ResponseData processHttpMethod(final String url, final HttpUriRequest httpRequest) {
                    try {
                        Thread.sleep(10000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

      }
    
      @Override
      public void putFirst(E e) throws InterruptedException {
        delegate().putFirst(e);
      }
    
      @Override
      public void putLast(E e) throws InterruptedException {
        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

      }
    
      @Override
      public void putFirst(E e) throws InterruptedException {
        delegate().putFirst(e);
      }
    
      @Override
      public void putLast(E e) throws InterruptedException {
        delegate().putLast(e);
      }
    
      @Override
      public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException {
        return delegate().offerFirst(e, timeout, unit);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

            throws InterruptedException {
          lastMethodCalled = "invokeAll";
          assertTaskWrapped(tasks);
          return inline.invokeAll(tasks);
        }
    
        @Override
        public <T> List<Future<T>> invokeAll(
            Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
            throws InterruptedException {
          assertTaskWrapped(tasks);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        protected OldAbstractFuture() {}
    
        /*
         * Improve the documentation of when InterruptedException is thrown. Our
         * behavior matches the JDK's, but the JDK's documentation is misleading.
         */
        /**
         * {@inheritDoc}
         *
         * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if
         * the current thread is interrupted before or during the call, even if the value is already
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java

      @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 {
        return delegate().invokeAll(tasks);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Transport.java

        /**
         * @param request
         * @param response
         * @param timeout
         * @return first response
         * @throws InterruptedException
         * @throws TransportException
         */
        private <T extends Response> T waitForResponses ( Request request, T response, long timeout ) throws InterruptedException, TransportException {
            Response curResp = response;
            Request curReq = request;
            while ( curResp != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
Back to top