Uses of Interface
org.redisson.misc.RPromise
-
-
Uses of RPromise in org.redisson
Methods in org.redisson that return RPromise Modifier and Type Method Description RPromise<E>
PubSubEntry. getPromise()
RPromise<RedissonCountDownLatchEntry>
RedissonCountDownLatchEntry. getPromise()
RPromise<RedissonLockEntry>
RedissonLockEntry. getPromise()
protected <T extends RRemoteServiceResponse>
RPromise<T>BaseRemoteService. pollResultResponse(long timeout, RequestId requestId, RemoteServiceRequest request)
Methods in org.redisson with parameters of type RPromise Modifier and Type Method Description protected void
RedissonMultiLock. checkRemainTimeAsync(ListIterator<RLock> iterator, List<RLock> acquiredLocks, RPromise<Boolean> result, long lockWaitTime, long waitTime, long leaseTime, long newLeaseTime, AtomicLong remainTime, AtomicLong time, AtomicInteger failedLocksLimit, TimeUnit unit, long threadId)
protected <T> void
BaseRemoteService. scheduleCheck(String mapName, RequestId requestId, RPromise<T> cancelRequest)
protected <T> void
RedissonPriorityBlockingQueue. takeAsync(RPromise<V> result, long delay, long timeoutInMicro, RedisCommand<T> command, Object... params)
protected void
RedissonMultiLock. tryLockAsync(long leaseTime, TimeUnit unit, long waitTime, RPromise<Void> result)
Constructors in org.redisson with parameters of type RPromise Constructor Description RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise)
RedissonLockEntry(RPromise<RedissonLockEntry> promise)
-
Uses of RPromise in org.redisson.client
Methods in org.redisson.client that return RPromise Modifier and Type Method Description <C extends RedisConnection>
RPromise<C>RedisConnection. getConnectionPromise()
Constructors in org.redisson.client with parameters of type RPromise Constructor Description RedisConnection(RedisClient redisClient, io.netty.channel.Channel channel, RPromise<C> connectionPromise)
RedisPubSubConnection(RedisClient redisClient, io.netty.channel.Channel channel, RPromise<RedisPubSubConnection> connectionPromise)
-
Uses of RPromise in org.redisson.client.protocol
Methods in org.redisson.client.protocol that return RPromise Modifier and Type Method Description RPromise<R>
CommandData. getPromise()
RPromise<Void>
CommandsData. getPromise()
Constructors in org.redisson.client.protocol with parameters of type RPromise Constructor Description BatchCommandData(RPromise<R> promise, Codec codec, RedisCommand<T> command, Object[] params, int index)
CommandData(RPromise<R> promise, Codec codec, RedisCommand<T> command, Object[] params)
CommandData(RPromise<R> promise, MultiDecoder<Object> messageDecoder, Codec codec, RedisCommand<T> command, Object[] params)
CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean queued)
CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean skipResult, boolean atomic, boolean queued)
CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, List<CommandData<?,?>> attachedCommands)
CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, List<CommandData<?,?>> attachedCommands, boolean skipResult, boolean atomic, boolean queued)
-
Uses of RPromise in org.redisson.command
Classes in org.redisson.command that implement RPromise Modifier and Type Class Description class
BatchPromise<T>
Methods in org.redisson.command that return RPromise Modifier and Type Method Description protected <R> RPromise<R>
CommandAsyncService. createPromise()
protected <R> RPromise<R>
CommandBatchService. createPromise()
RPromise<R>
AsyncDetails. getAttemptPromise()
RPromise<R>
AsyncDetails. getMainPromise()
RPromise<T>
BatchPromise. sync()
RPromise<T>
BatchPromise. syncUninterruptibly()
Methods in org.redisson.command with parameters of type RPromise Modifier and Type Method Description <V,R>
voidCommandAsyncService. async(boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt, boolean ignoreRedirect, RFuture<RedisConnection> connFuture)
<V,R>
voidCommandBatchService. async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt, boolean ignoreRedirect, RFuture<RedisConnection> connFuture)
protected void
CommandBatchService. handle(RPromise<Void> mainPromise, AtomicInteger slots, io.netty.util.concurrent.Future<?> future)
protected <V,R>
voidCommandAsyncService. handleError(AsyncDetails<V,R> details, RPromise<R> mainPromise, Throwable cause)
protected <V,R>
voidCommandBatchService. handleError(AsyncDetails<V,R> details, RPromise<R> promise, Throwable cause)
protected <V,R>
voidCommandAsyncService. handleSuccess(AsyncDetails<V,R> details, RPromise<R> promise, RedisCommand<?> command, R res)
protected <V,R>
voidCommandBatchService. handleSuccess(AsyncDetails<V,R> details, RPromise<R> promise, RedisCommand<?> command, R res)
void
AsyncDetails. init(RFuture<RedisConnection> connectionFuture, RPromise<R> attemptPromise, boolean readOnlyMode, NodeSource source, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt)
protected <V,R>
voidCommandAsyncService. releaseConnection(NodeSource source, RFuture<RedisConnection> connectionFuture, boolean isReadOnly, RPromise<R> attemptPromise, AsyncDetails<V,R> details)
protected <V,R>
voidCommandBatchService. releaseConnection(NodeSource source, RFuture<RedisConnection> connectionFuture, boolean isReadOnly, RPromise<R> attemptPromise, AsyncDetails<V,R> details)
-
Uses of RPromise in org.redisson.executor
Classes in org.redisson.executor that implement RPromise Modifier and Type Class Description class
RedissonExecutorBatchFuture
class
RedissonExecutorFuture<V>
class
RedissonScheduledFuture<V>
class
RemotePromise<T>
Methods in org.redisson.executor that return RPromise Modifier and Type Method Description RPromise<?>
RedissonExecutorFutureReference. getPromise()
protected <T extends RRemoteServiceResponse>
RPromise<T>ScheduledTasksService. pollResultResponse(long timeout, RequestId requestId, RemoteServiceRequest request)
Constructors in org.redisson.executor with parameters of type RPromise Constructor Description RedissonExecutorFuture(RPromise<V> promise, RequestId taskId)
RedissonExecutorFutureReference(RequestId requestId, RExecutorFuture<?> referent, ReferenceQueue<? super RExecutorFuture<?>> q, RPromise<?> promise)
-
Uses of RPromise in org.redisson.misc
Classes in org.redisson.misc that implement RPromise Modifier and Type Class Description class
PromiseDelegator<T>
class
RedissonPromise<T>
Fields in org.redisson.misc declared as RPromise Modifier and Type Field Description protected RPromise<T>
CountableListener. result
Methods in org.redisson.misc that return RPromise Modifier and Type Method Description RPromise<T>
PromiseDelegator. addListener(io.netty.util.concurrent.FutureListener<? super T> listener)
RPromise<T>
RedissonPromise. addListener(io.netty.util.concurrent.FutureListener<? super T> listener)
RPromise<T>
RPromise. addListener(io.netty.util.concurrent.FutureListener<? super T> listener)
RPromise<T>
PromiseDelegator. addListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners)
RPromise<T>
RedissonPromise. addListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners)
RPromise<T>
RPromise. addListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners)
RPromise<T>
PromiseDelegator. await()
RPromise<T>
RedissonPromise. await()
RPromise<T>
RPromise. await()
RPromise<T>
PromiseDelegator. awaitUninterruptibly()
RPromise<T>
RedissonPromise. awaitUninterruptibly()
RPromise<T>
RPromise. awaitUninterruptibly()
RPromise<T>
PromiseDelegator. getInnerPromise()
RPromise<T>
PromiseDelegator. removeListener(io.netty.util.concurrent.FutureListener<? super T> listener)
RPromise<T>
RedissonPromise. removeListener(io.netty.util.concurrent.FutureListener<? super T> listener)
RPromise<T>
RPromise. removeListener(io.netty.util.concurrent.FutureListener<? super T> listener)
RPromise<T>
PromiseDelegator. removeListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners)
RPromise<T>
RedissonPromise. removeListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners)
RPromise<T>
RPromise. removeListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners)
RPromise<T>
PromiseDelegator. sync()
RPromise<T>
RedissonPromise. sync()
RPromise<T>
RPromise. sync()
RPromise<T>
PromiseDelegator. syncUninterruptibly()
RPromise<T>
RedissonPromise. syncUninterruptibly()
RPromise<T>
RPromise. syncUninterruptibly()
Constructors in org.redisson.misc with parameters of type RPromise Constructor Description CountableListener(RPromise<T> result, T value)
CountableListener(RPromise<T> result, T value, int count)
PromiseDelegator(RPromise<T> promise)
TransferListener(RPromise<T> promise)
-
Uses of RPromise in org.redisson.pubsub
Methods in org.redisson.pubsub with parameters of type RPromise Modifier and Type Method Description protected RedissonCountDownLatchEntry
CountDownLatchPubSub. createEntry(RPromise<RedissonCountDownLatchEntry> newPromise)
protected RedissonLockEntry
LockPubSub. createEntry(RPromise<RedissonLockEntry> newPromise)
protected RedissonLockEntry
SemaphorePubSub. createEntry(RPromise<RedissonLockEntry> newPromise)
-
Uses of RPromise in org.redisson.reactive
Methods in org.redisson.reactive with parameters of type RPromise Modifier and Type Method Description <V,R>
voidCommandReactiveBatchService. async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt, boolean ignoreRedirect, RFuture<RedisConnection> connFuture)
-
Uses of RPromise in org.redisson.remote
Methods in org.redisson.remote that return RPromise Modifier and Type Method Description <T extends RRemoteServiceResponse>
RPromise<T>ResponseEntry.Result. getPromise()
Constructors in org.redisson.remote with parameters of type RPromise Constructor Description Result(RPromise<? extends RRemoteServiceResponse> promise, ScheduledFuture<?> scheduledFuture)
-
Uses of RPromise in org.redisson.rx
Methods in org.redisson.rx with parameters of type RPromise Modifier and Type Method Description <V,R>
voidCommandRxBatchService. async(boolean readOnlyMode, NodeSource nodeSource, Codec codec, RedisCommand<V> command, Object[] params, RPromise<R> mainPromise, int attempt, boolean ignoreRedirect, RFuture<RedisConnection> connFuture)
-
Uses of RPromise in org.redisson.transaction
Methods in org.redisson.transaction with parameters of type RPromise Modifier and Type Method Description protected <R> void
BaseTransactionalMap. executeLocked(RPromise<R> promise, Runnable runnable, Collection<K> keys)
protected <R> void
BaseTransactionalMap. executeLocked(RPromise<R> promise, Runnable runnable, RLock lock)
protected <R> void
BaseTransactionalMap. executeLocked(RPromise<R> promise, K key, Runnable runnable)
protected <R> void
BaseTransactionalSet. executeLocked(RPromise<R> promise, Object value, Runnable runnable)
protected <R> void
BaseTransactionalSet. executeLocked(RPromise<R> promise, Runnable runnable, Collection<?> values)
protected <R> void
BaseTransactionalSet. executeLocked(RPromise<R> promise, Runnable runnable, RLock lock)
protected <R> void
RedissonTransactionalBucket. executeLocked(RPromise<R> promise, Runnable runnable)
-