- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 247 for InterruptedException (0.07 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
public void testAddDelayedShutdownHook_interrupted() throws InterruptedException { TestApplication application = new TestApplication(); ExecutorService service = mock(ExecutorService.class); application.addDelayedShutdownHook(service, 2, SECONDS); when(service.awaitTermination(2, SECONDS)).thenThrow(new InterruptedException()); application.shutdown(); verify(service).shutdown(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
JobProcess jobProcess = new JobProcess(mockProcess, 10, null); assertNotNull(jobProcess.getInputStreamThread()); } public void test_integration_withInputStreamThread() throws IOException, InterruptedException { Process mockProcess = createMockProcess("integration test\nsecond line"); List<String> callbackResults = new ArrayList<>(); Consumer<String> callback = line -> callbackResults.add(line);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> { try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); final CountDownLatch latch = new CountDownLatch(1);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningExecutorService.java
throws InterruptedException; /** * Duration-based overload of {@link #invokeAll(Collection, long, TimeUnit)}. * * @since 32.1.0 */ @J2ktIncompatible default <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, Duration timeout) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
return "success"; } catch (InterruptedException e) { throw new RuntimeException(e); } }); successCount.incrementAndGet(); } catch (InterruptedException e) { Thread.currentThread().interrupt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingLock.java
delegate().lock(); } @Override public void lockInterruptibly() throws InterruptedException { delegate().lockInterruptibly(); } @Override public boolean tryLock() { return delegate().tryLock(); } @Override public boolean tryLock(long time, TimeUnit unit) throws InterruptedException { return delegate().tryLock(time, unit); } @Override public void unlock() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ThreadUtil.java
} try { Thread.sleep(millis); } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } } /** * Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. * Any {@link InterruptedException} is caught and logged at debug level. * * @param millis
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
throws TimeoutException, InterruptedException, ExecutionException { checkNotNull(callable); checkNotNull(timeoutUnit); checkPositiveTimeout(timeoutDuration); Future<T> future = executor.submit(callable); try { return future.get(timeoutDuration, timeoutUnit); } catch (InterruptedException | TimeoutException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0)