- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 74 for Status (3.9 sec)
-
android/guava/src/com/google/common/cache/CacheLoader.java
* @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set */ public abstract V load(K key) throws Exception; /** * Computes or retrieves a replacement value corresponding to an already-cached {@code key}. This
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java
} @Override public boolean isDone() { return true; } @Override public String toString() { // Behaviour analogous to AbstractFuture#toString(). return super.toString() + "[status=SUCCESS, result=[" + value + "]]"; } static final class ImmediateFailedFuture<V extends @Nullable Object> extends TrustedFuture<V> { ImmediateFailedFuture(Throwable thrown) { setException(thrown); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 13 19:45:20 GMT 2023 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(testFuture3.toString()) .matches( "[^\\[]+\\[status=PENDING, setFuture=\\[[^\\[]+\\[status=PENDING," + " info=\\[cause=\\[Someday...]]]]]"); testFuture2.set("result string"); assertThat(testFuture3.toString()) .matches("[^\\[]+\\[status=SUCCESS, result=\\[java.lang.String@\\w+\\]\\]"); } public void testToString_cancelled() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* <p>Triggers test case failure if any thread assertions have failed, by rethrowing, in the test * harness thread, any exception recorded earlier by threadRecordFailure. * * <p>Triggers test case failure if interrupt status is set in the main thread. */ @Override public void tearDown() throws Exception { Throwable t = threadFailure.getAndSet(null); if (t != null) { if (t instanceof Error) throw (Error) t;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
.matches( "CombinedFuture@\\w+\\[status=PENDING," + " info=\\[futures=\\[SettableFuture@\\w+\\[status=PENDING]," + " SettableFuture@\\w+\\[status=PENDING]]]]"); Integer integerPartial = 1; futureInteger.set(integerPartial); assertThat(futureResult.toString()) .matches( "CombinedFuture@\\w+\\[status=PENDING,"
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* @throws InterruptedException if this method is interrupted. {@code InterruptedException} is * treated like any other {@code Exception} in all respects except that, when it is caught, * the thread's interrupt status is set */ public abstract V load(K key) throws Exception; /** * Computes or retrieves a replacement value corresponding to an already-cached {@code key}. This
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Dec 19 20:20:14 GMT 2022 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
* its own "running" check. */ void awaitRunChecks() throws InterruptedException { assertTrue( "Service thread hasn't finished its checks. " + "Exception status (possibly stale): " + thrownByExecutionThread, hasConfirmedIsRunning.await(10, SECONDS)); } @Override protected void doStart() { assertEquals(State.STARTING, state());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
.matches( "CombinedFuture@\\w+\\[status=PENDING," + " info=\\[futures=\\[SettableFuture@\\w+\\[status=PENDING]," + " SettableFuture@\\w+\\[status=PENDING]]]]"); Integer integerPartial = 1; futureInteger.set(integerPartial); assertThat(futureResult.toString()) .matches( "CombinedFuture@\\w+\\[status=PENDING,"
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
related.cancel(wasInterrupted()); } } @Override public String toString() { StringBuilder builder = new StringBuilder().append(super.toString()).append("[status="); if (isCancelled()) { builder.append("CANCELLED"); } else if (isDone()) { addDoneString(builder); } else { String pendingDescription; try {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 19:37:41 GMT 2024 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(testFuture3.toString()) .matches( "[^\\[]+\\[status=PENDING, setFuture=\\[[^\\[]+\\[status=PENDING," + " info=\\[cause=\\[Someday...]]]]]"); testFuture2.set("result string"); assertThat(testFuture3.toString()) .matches("[^\\[]+\\[status=SUCCESS, result=\\[java.lang.String@\\w+\\]\\]"); } public void testToString_cancelled() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0)