Class SyncPromise.WithExecutor<V>
- java.lang.Object
-
- org.apache.cassandra.utils.concurrent.AbstractFuture<V>
-
- org.apache.cassandra.utils.concurrent.SyncFuture<V>
-
- org.apache.cassandra.utils.concurrent.SyncPromise<V>
-
- org.apache.cassandra.utils.concurrent.SyncPromise.WithExecutor<V>
-
- All Implemented Interfaces:
com.google.common.util.concurrent.ListenableFuture<V>
,io.netty.util.concurrent.Future<V>
,io.netty.util.concurrent.Promise<V>
,java.util.concurrent.Future<V>
,Awaitable
,Future<V>
,Promise<V>
- Enclosing class:
- SyncPromise<V>
public static class SyncPromise.WithExecutor<V> extends SyncPromise<V>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.utils.concurrent.SyncPromise
SyncPromise.WithExecutor<V>
-
Nested classes/interfaces inherited from interface org.apache.cassandra.utils.concurrent.Awaitable
Awaitable.AbstractAwaitable, Awaitable.AsyncAwaitable, Awaitable.Defaults, Awaitable.SyncAwaitable
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.utils.concurrent.AbstractFuture
CANCELLED, UNCANCELLABLE, UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WithExecutor(java.util.concurrent.Executor notifyExecutor)
protected
WithExecutor(java.util.concurrent.Executor notifyExecutor, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super V>> listener)
protected
WithExecutor(java.util.concurrent.Executor notifyExecutor, org.apache.cassandra.utils.concurrent.AbstractFuture.FailureHolder initialState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.Executor
notifyExecutor()
-
Methods inherited from class org.apache.cassandra.utils.concurrent.SyncPromise
addCallback, addCallback, addCallback, addListener, addListeners, await, awaitThrowUncheckedOnInterrupt, awaitUninterruptibly, isUncancellable, removeListener, removeListeners, setFailure, setSuccess, setUncancellable, setUncancellableExclusive, sync, syncUninterruptibly, tryFailure, trySuccess, uncancellable, uncancellable, uncancellable, withExecutor
-
Methods inherited from class org.apache.cassandra.utils.concurrent.SyncFuture
awaitUntil, flatMap, map
-
Methods inherited from class org.apache.cassandra.utils.concurrent.AbstractFuture
addCallback, addCallback, addCallback, addListener, addListener, await, awaitThrowUncheckedOnInterrupt, awaitUninterruptibly, awaitUntilThrowUncheckedOnInterrupt, awaitUntilUninterruptibly, cancel, cause, description, flatMap, get, get, getNow, getWhenDone, isCancellable, isCancelled, isDone, isSuccess, map, map, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.utils.concurrent.Awaitable
await, awaitThrowUncheckedOnInterrupt, awaitUninterruptibly, awaitUntil, awaitUntilThrowUncheckedOnInterrupt, awaitUntilUninterruptibly
-
Methods inherited from interface io.netty.util.concurrent.Future
await, awaitUninterruptibly, cancel, cause, getNow, isCancellable, isSuccess
-
Methods inherited from interface org.apache.cassandra.utils.concurrent.Future
addCallback, addCallback, addCallback, addListener, addListener, await, awaitUninterruptibly, flatMap, flatMap, map, map, rethrowIfFailed, syncThrowUncheckedOnInterrupt
-
-
-
-
Constructor Detail
-
WithExecutor
protected WithExecutor(java.util.concurrent.Executor notifyExecutor)
-
WithExecutor
protected WithExecutor(java.util.concurrent.Executor notifyExecutor, org.apache.cassandra.utils.concurrent.AbstractFuture.FailureHolder initialState)
-
WithExecutor
protected WithExecutor(java.util.concurrent.Executor notifyExecutor, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super V>> listener)
-
-
Method Detail
-
notifyExecutor
public java.util.concurrent.Executor notifyExecutor()
- Specified by:
notifyExecutor
in interfaceFuture<V>
- Overrides:
notifyExecutor
in classAbstractFuture<V>
-
-