Package org.redisson.executor
Class RemotePromise<T>
-
- <T>
-
- org.redisson.misc.RedissonPromise<T>
-
- org.redisson.executor.RemotePromise<T>
-
public class RemotePromise<T> extends RedissonPromise<T>
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description RemotePromise(RequestId requestId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description >
cancelAsync(boolean mayInterruptIfRunning)
void
doCancel(boolean mayInterruptIfRunning)
>
getAddFuture()
RequestId
getRequestId()
void
> addFuture)
-
Methods inherited from class org.redisson.misc.RedissonPromise
await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, getNow, hasListeners, isCancelled, isDone, isSuccess, newFailedFuture, newSucceededFuture, onComplete, setUncancellable, sync, syncUninterruptibly, toString, tryFailure, trySuccess
-
Methods inherited from class java.util.concurrent.
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
-
-
-
-
Constructor Detail
-
RemotePromise
public RemotePromise(RequestId requestId)
-
-
Method Detail
-
getRequestId
public RequestId getRequestId()
-
setAddFuture
public void setAddFuture(> addFuture)
-
getAddFuture
public > getAddFuture()
-
doCancel
public void doCancel(boolean mayInterruptIfRunning)
-
cancelAsync
public > cancelAsync(boolean mayInterruptIfRunning)
-
-