- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 508 for poll (0.82 sec)
-
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
void execute() { synchronized (runnables) { if (executed) { return; } executed = true; } while (!runnables.isEmpty()) { runnables.poll().execute(); } } private static class RunnableExecutorPair { final Runnable runnable; final Executor executor; RunnableExecutorPair(Runnable runnable, Executor executor) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
log.info("Removed {} idle connections from pool", toRemoveCount); } } /** * Set the maximum pool size * @param size the maximum number of connections in the pool */ public void setMaxPoolSize(int size) { if (size <= 0) { throw new IllegalArgumentException("Pool size must be positive"); } this.maxPoolSize = size;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
} void checkEmpty(BlockingQueue<?> q) { try { assertTrue(q.isEmpty()); assertEquals(0, q.size()); assertThat(q.peek()).isNull(); assertThat(q.poll()).isNull(); assertThat(q.poll(0, MILLISECONDS)).isNull(); assertEquals("[]", q.toString()); assertThat(q.toArray()).isEmpty(); assertFalse(q.iterator().hasNext()); try { q.element();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
.removalListener(listener) .ticker(ticker) .build(); cache.put(1, 1); ticker.advance(10, MINUTES); cache.invalidateAll(); assertThat(listener.poll().getCause()).isEqualTo(RemovalCause.EXPIRED); } private void runRemovalScheduler( LoadingCache<String, Integer> cache, CountingRemovalListener<String, Integer> removalListener,
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 19.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* not in {@link #nextElements}, this method throws an {@link UnknownElementException}. * * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator toRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* not in {@link #nextElements}, this method throws an {@link UnknownElementException}. * * <p>This method is used when testing iterators without a known ordering. We poll the target * iterator's next element and pass it to the reference iterator through this method so it can * return the same element. This enables the assertion to pass and the reference iterator toRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
}); Thread reader = new Thread(new Runnable() { @Override public void run() { try { statusSetLatch.countDown(); // Poll for status change instead of fixed sleep long startTime = System.currentTimeMillis(); while (System.currentTimeMillis() - startTime < 500) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
/** * Creates a new fixed thread pool executor with the specified number of threads. * * @param nThreads the number of threads in the pool * @return a new ThreadPoolExecutor configured for this callback */ protected ExecutorService newFixedThreadPool(final int nThreads) { if (logger.isDebugEnabled()) { logger.debug("Initialized executor thread pool: size={}", nThreads); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3)