- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for InterruptibleTask (0.05 sec)
-
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java
package com.google.common.util.concurrent; import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT; import org.jspecify.annotations.Nullable; /** Emulation for InterruptibleTask in GWT. */ abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable { @Override public void run() { T result = null; Throwable error = null; if (isDone()) { return; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
* that the test isn't exposing a real problem with InterruptibleTask, one that could matter in * prod. */ @AndroidIncompatible public void testInterruptIsSlow() throws Exception { CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); SlowChannel slowChannel = new SlowChannel(); InterruptibleTask<@Nullable Void> task = new InterruptibleTask<@Nullable Void>() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.1K bytes - Viewed (0)