- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Uninterruptibles (0.07 sec)
-
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
/** * Utilities for treating interruptible operations as uninterruptible. In all cases, if a thread is * interrupted during such a call, the call continues to block until the result is available or the * timeout elapses, and only then re-interrupts the thread. * * @author Anthony Zana * @since 10.0 */ @GwtCompatible public final class Uninterruptibles {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
import static com.google.common.base.Preconditions.checkState; import static com.google.common.util.concurrent.FuturesTest.pseudoTimedGetUninterruptibly; import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static junit.framework.Assert.assertFalse; import static junit.framework.Assert.fail;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import com.google.common.util.concurrent.Uninterruptibles; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.lang.Thread.UncaughtExceptionHandler; import java.math.RoundingMode; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
* case we ever switch to JUnit 4: */ fail(); } } }); } // TODO(cpovirk): promote to Uninterruptibles, and add untimed version private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) { boolean interrupted = false; try { long remainingNanos = unit.toNanos(timeout);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
* case we ever switch to JUnit 4: */ fail(); } } }); } // TODO(cpovirk): promote to Uninterruptibles, and add untimed version private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) { boolean interrupted = false; try { long remainingNanos = unit.toNanos(timeout);
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/hash/BloomFilterTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import com.google.common.util.concurrent.Uninterruptibles; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.lang.Thread.UncaughtExceptionHandler; import java.math.RoundingMode; import java.util.ArrayList; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* from the underlying computation in an {@code UncheckedExecutionException} or {@code * ExecutionError}. * * <p>For an uninterruptible {@code get} that preserves other exceptions, see {@link * Uninterruptibles#getUninterruptibly(Future)}. * * @throws UncheckedExecutionException if {@code get} throws an {@code ExecutionException} with an * {@code Exception} as its cause
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly; import com.google.common.base.CaseFormat; import com.google.common.collect.ImmutableList; import com.google.errorprone.annotations.CanIgnoreReturnValue;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27K bytes - Viewed (0)