public class BatchPromise<T> extends RedissonPromise<T>
Constructor | Description |
---|---|
BatchPromise(AtomicBoolean executed) |
Modifier and Type | Method | Description |
---|---|---|
RFuture<Void> |
getSentPromise() |
|
RPromise<T> |
sync() |
Waits for this future until it is done, and rethrows the cause of the failure if this future
failed.
|
RPromise<T> |
syncUninterruptibly() |
Waits for this future until it is done, and rethrows the cause of the failure if this future
failed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addListeners, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, cancel, cause, get, get, getNow, hasListeners, isCancelled, isDone, isSuccess, newFailedFuture, newSucceededFuture, removeListener, removeListeners, setUncancellable, toString, tryFailure, trySuccess
public BatchPromise(AtomicBoolean executed)
public RPromise<T> sync() throws InterruptedException
RFuture
sync
in interface RFuture<T>
sync
in interface RPromise<T>
sync
in class RedissonPromise<T>
InterruptedException
- if the current thread was interruptedpublic RPromise<T> syncUninterruptibly()
RFuture
syncUninterruptibly
in interface RFuture<T>
syncUninterruptibly
in interface RPromise<T>
syncUninterruptibly
in class RedissonPromise<T>
Copyright © 2014–2018 The Redisson Project. All rights reserved.