Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 184 for InterruptedException (0.21 sec)

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

            return input.isDone();
          }
    
          @Override
          public O get() throws InterruptedException, ExecutionException {
            return applyTransformation(input.get());
          }
    
          @Override
          public O get(long timeout, TimeUnit unit)
              throws InterruptedException, ExecutionException, TimeoutException {
            return applyTransformation(input.get(timeout, unit));
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

            }
            responseQueue.put(new Response(request.methodName, result, null));
          }
        } catch (ThreadDeath death) {
          return;
        } catch (InterruptedException ignored) {
          // SynchronousQueue sometimes throws InterruptedException while the threads are stopping.
        } catch (Throwable uncaught) {
          this.uncaughtThrowable = uncaught;
        }
      }
    
      private static class Request {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        private volatile boolean running = false;
    
        @Override
        public @Nullable Void call() throws InterruptedException {
          running = true;
          startLatch.countDown();
          stopLatch.await();
          running = false;
          return null;
        }
    
        public void waitForStart() throws InterruptedException {
          startLatch.await();
        }
    
        public void stop() {
          stopLatch.countDown();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/LoadingCache.java

       *     ExecutionException} is thrown <a
       *     href="https://github.com/google/guava/wiki/CachesExplained#interruption">even if
       *     computation was interrupted by an {@code InterruptedException}</a>.)
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
       * @throws ExecutionError if an error was thrown while loading the value
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/InternersTest.java

        assertEquals(Strength.WEAK, internerImpl.map.keyStrength());
        assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel);
      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
                return exitValue;
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final InterruptedException e) {
                if (mt != null && mt.isTeminated()) {
                    throw new CommandExecutionException("The command execution is timeout: " + String.join(" ", commands), e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/InternersTest.java

        assertEquals(Strength.WEAK, internerImpl.map.keyStrength());
        assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel);
      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          System.gc();
    
          CacheTesting.drainReferenceQueues(cache);
          if (cache.size() == 1) {
            break;
          }
          try {
            Thread.sleep(10);
          } catch (InterruptedException e) {
            /* ignore */
          }
          try {
            // Fill up heap so soft references get cleared.
            filler = new byte[max(filler.length, filler.length * 2)];
          } catch (OutOfMemoryError e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    enterLatch.countDown();
                    try {
                      new CountDownLatch(1).await(); // wait forever
                      throw new AssertionError();
                    } catch (InterruptedException e) {
                      interruptedExceptionThrown.set(true);
                      throw e;
                    } finally {
                    }
                  }
                });
        assertFalse(task.isDone());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    }
                }, "ProcessCloser-output-" + sessionId).start();
    
                try {
                    latch.await(10, TimeUnit.SECONDS);
                } catch (final InterruptedException e) {
                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
                    process.destroyForcibly().waitFor(processDestroyTimeout, TimeUnit.SECONDS);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top