Searched defs:ASYNC (Results 1 - 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DLinkedTransferQueue.java318 * On successful append, if the call was ASYNC, return.
585 private static final int ASYNC = 1; // for offer, put, add field in class:LinkedTransferQueue
594 * @param how NOW, ASYNC, SYNC, or TIMED
639 if (how != ASYNC)
1249 xfer(e, true, ASYNC, 0);
1263 xfer(e, true, ASYNC, 0);
1275 xfer(e, true, ASYNC, 0);
1288 xfer(e, true, ASYNC, 0);
H A DCompletableFuture.java170 * then ASYNC); the first to screen and trap exceptions while
423 static final int ASYNC = 1; field in class:CompletableFuture
443 * @param mode SYNC, ASYNC, or NESTED
450 public final void run() { tryFire(ASYNC); }
451 public final boolean exec() { tryFire(ASYNC); return false; }
859 final CompletableFuture<T> tryFire(int mode) { // never ASYNC
860 // assert mode != ASYNC;
/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java646 ASYNC { enum constant in enum:CompletableFutureTest.ExecutionMode
1206 ExecutionMode.ASYNC,
1223 ExecutionMode.ASYNC,
1239 ExecutionMode.ASYNC,
1257 ExecutionMode.ASYNC,

Completed in 49 milliseconds