Package | Description |
---|---|
org.apache.cassandra.utils.concurrent |
Modifier and Type | Method and Description |
---|---|
Promise<V> |
Promise.addCallback(java.util.function.Consumer<? super V> onSuccess,
java.util.function.Consumer<? super java.lang.Throwable> onFailure) |
Promise<V> |
Promise.addCallback(com.google.common.util.concurrent.FutureCallback<? super V> callback) |
Promise<V> |
Promise.addCallback(com.google.common.util.concurrent.FutureCallback<? super V> callback,
java.util.concurrent.Executor executor) |
Promise<V> |
Promise.addListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super V>> var1) |
Promise<V> |
Promise.addListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super V>>... var1) |
Promise<V> |
Promise.await()
Wait indefinitely for this promise to complete, throwing any interrupt
|
Promise<V> |
Promise.awaitThrowUncheckedOnInterrupt()
Wait indefinitely for this promise to complete, throwing any interrupt as an UncheckedInterruptedException
|
Promise<V> |
Promise.awaitUninterruptibly()
Wait indefinitely for this promise to complete
|
Promise<V> |
Promise.removeListener(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super V>> var1) |
Promise<V> |
Promise.removeListeners(io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super V>>... var1) |
Promise<V> |
AsyncPromise.setFailure(java.lang.Throwable throwable)
Complete the promise abnormally if not already complete
|
Promise<V> |
Promise.setFailure(java.lang.Throwable throwable)
Complete the promise abnormally if not already complete
|
Promise<V> |
SyncPromise.setFailure(java.lang.Throwable throwable)
Complete the promise abnormally if not already complete
|
Promise<V> |
AsyncPromise.setSuccess(V v)
Complete the promise successfully if not already complete
|
Promise<V> |
Promise.setSuccess(V v)
Complete the promise successfully if not already complete
|
Promise<V> |
SyncPromise.setSuccess(V v)
Complete the promise successfully if not already complete
|
Promise<V> |
AsyncPromise.sync()
waits for completion; in case of failure rethrows the original exception without a new wrapping exception
so may cause problems for reporting stack traces
|
Promise<V> |
Promise.sync()
waits for completion; in case of failure rethrows the original exception without a new wrapping exception
so may cause problems for reporting stack traces
|
Promise<V> |
SyncPromise.sync()
waits for completion; in case of failure rethrows the original exception without a new wrapping exception
so may cause problems for reporting stack traces
|
Promise<V> |
AsyncPromise.syncUninterruptibly()
waits for completion; in case of failure rethrows the original exception without a new wrapping exception
so may cause problems for reporting stack traces
|
Promise<V> |
Promise.syncUninterruptibly()
waits for completion; in case of failure rethrows the original exception without a new wrapping exception
so may cause problems for reporting stack traces
|
Promise<V> |
SyncPromise.syncUninterruptibly()
waits for completion; in case of failure rethrows the original exception without a new wrapping exception
so may cause problems for reporting stack traces
|
Copyright © 2009- The Apache Software Foundation