- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for InterruptibleTask (0.23 sec)
-
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java
import static com.google.common.util.concurrent.NullnessCasts.uncheckedCastNullableTToT; import org.checkerframework.checker.nullness.qual.Nullable; /** Emulation for InterruptibleTask in GWT. */ @ElementTypesAreNonnullByDefault abstract class InterruptibleTask<T extends @Nullable Object> implements Runnable { @Override public void run() { T result = null; Throwable error = null; if (isDone()) { return;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 08 20:30:27 UTC 2022 - 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 { final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1); final SlowChannel slowChannel = new SlowChannel(); final InterruptibleTask<@Nullable Void> task = new InterruptibleTask<@Nullable Void>() { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.6K bytes - Viewed (0)