Modifier and Type | Method and Description |
---|---|
RPromise<RedissonLockEntry> |
RedissonLockEntry.getPromise() |
RPromise<RedissonCountDownLatchEntry> |
RedissonCountDownLatchEntry.getPromise() |
RPromise<E> |
PubSubEntry.getPromise() |
protected <T extends RRemoteServiceResponse> |
BaseRemoteService.pollResultResponse(long timeout,
RequestId requestId,
RemoteServiceRequest request) |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
RedissonCountDownLatchEntry(RPromise<RedissonCountDownLatchEntry> promise) |
RedissonLockEntry(RPromise<RedissonLockEntry> promise) |
Modifier and Type | Method and Description |
---|---|
<C extends RedisConnection> |
RedisConnection.getConnectionPromise() |
Constructor and Description |
---|
RedisConnection(RedisClient redisClient,
io.netty.channel.Channel channel,
RPromise<C> connectionPromise) |
RedisPubSubConnection(RedisClient redisClient,
io.netty.channel.Channel channel,
RPromise<RedisPubSubConnection> connectionPromise) |
Modifier and Type | Method and Description |
---|---|
RPromise<Void> |
CommandsData.getPromise() |
RPromise<R> |
CommandData.getPromise() |
Constructor and 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) |
Modifier and Type | Class and Description |
---|---|
class |
BatchPromise<T> |
Modifier and Type | Method and Description |
---|---|
protected <R> RPromise<R> |
CommandBatchService.createPromise() |
protected <R> RPromise<R> |
CommandAsyncService.createPromise() |
RPromise<R> |
AsyncDetails.getAttemptPromise() |
RPromise<R> |
AsyncDetails.getMainPromise() |
RPromise<T> |
BatchPromise.sync() |
RPromise<T> |
BatchPromise.syncUninterruptibly() |
Modifier and Type | Method and Description |
---|---|
<V,R> void |
CommandBatchService.async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
int attempt,
boolean ignoreRedirect) |
<V,R> void |
CommandAsyncService.async(boolean readOnlyMode,
NodeSource source,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
int attempt,
boolean ignoreRedirect) |
protected void |
CommandBatchService.handle(RPromise<Void> mainPromise,
AtomicInteger slots,
io.netty.util.concurrent.Future<?> future) |
protected <V,R> void |
CommandBatchService.handleError(AsyncDetails<V,R> details,
RPromise<R> promise,
Throwable cause) |
protected <V,R> void |
CommandAsyncService.handleError(AsyncDetails<V,R> details,
RPromise<R> mainPromise,
Throwable cause) |
protected <V,R> void |
CommandBatchService.handleSuccess(AsyncDetails<V,R> details,
RPromise<R> promise,
RedisCommand<?> command,
R res) |
protected <V,R> void |
CommandAsyncService.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) |
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> void |
CommandBatchService.releaseConnection(NodeSource source,
RFuture<RedisConnection> connectionFuture,
boolean isReadOnly,
RPromise<R> attemptPromise,
AsyncDetails<V,R> details) |
protected <V,R> void |
CommandAsyncService.releaseConnection(NodeSource source,
RFuture<RedisConnection> connectionFuture,
boolean isReadOnly,
RPromise<R> attemptPromise,
AsyncDetails<V,R> details) |
Modifier and Type | Class and Description |
---|---|
class |
RedissonExecutorBatchFuture |
class |
RedissonExecutorFuture<V> |
class |
RedissonScheduledFuture<V> |
class |
RemotePromise<T> |
Modifier and Type | Method and Description |
---|---|
RPromise<?> |
RedissonExecutorFutureReference.getPromise() |
protected <T extends RRemoteServiceResponse> |
ScheduledTasksService.pollResultResponse(long timeout,
RequestId requestId,
RemoteServiceRequest request) |
Constructor and Description |
---|
RedissonExecutorFuture(RPromise<V> promise,
RequestId taskId) |
RedissonExecutorFutureReference(RequestId requestId,
RExecutorFuture<?> referent,
ReferenceQueue<? super RExecutorFuture<?>> q,
RPromise<?> promise) |
Modifier and Type | Class and Description |
---|---|
class |
PromiseDelegator<T> |
class |
RedissonPromise<T> |
Modifier and Type | Field and Description |
---|---|
protected RPromise<T> |
CountableListener.result |
Modifier and Type | Method and Description |
---|---|
RPromise<T> |
RPromise.addListener(io.netty.util.concurrent.FutureListener<? super T> listener) |
RPromise<T> |
RedissonPromise.addListener(io.netty.util.concurrent.FutureListener<? super T> listener) |
RPromise<T> |
PromiseDelegator.addListener(io.netty.util.concurrent.FutureListener<? super T> listener) |
RPromise<T> |
RPromise.addListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners) |
RPromise<T> |
RedissonPromise.addListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners) |
RPromise<T> |
PromiseDelegator.addListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners) |
RPromise<T> |
RPromise.await() |
RPromise<T> |
RedissonPromise.await() |
RPromise<T> |
PromiseDelegator.await() |
RPromise<T> |
RPromise.awaitUninterruptibly() |
RPromise<T> |
RedissonPromise.awaitUninterruptibly() |
RPromise<T> |
PromiseDelegator.awaitUninterruptibly() |
RPromise<T> |
PromiseDelegator.getInnerPromise() |
RPromise<T> |
RPromise.removeListener(io.netty.util.concurrent.FutureListener<? super T> listener) |
RPromise<T> |
RedissonPromise.removeListener(io.netty.util.concurrent.FutureListener<? super T> listener) |
RPromise<T> |
PromiseDelegator.removeListener(io.netty.util.concurrent.FutureListener<? super T> listener) |
RPromise<T> |
RPromise.removeListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners) |
RPromise<T> |
RedissonPromise.removeListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners) |
RPromise<T> |
PromiseDelegator.removeListeners(io.netty.util.concurrent.FutureListener<? super T>... listeners) |
RPromise<T> |
RPromise.sync() |
RPromise<T> |
RedissonPromise.sync() |
RPromise<T> |
PromiseDelegator.sync() |
RPromise<T> |
RPromise.syncUninterruptibly() |
RPromise<T> |
RedissonPromise.syncUninterruptibly() |
RPromise<T> |
PromiseDelegator.syncUninterruptibly() |
Constructor and Description |
---|
CountableListener(RPromise<T> result,
T value) |
CountableListener(RPromise<T> result,
T value,
int count) |
PromiseDelegator(RPromise<T> promise) |
TransferListener(RPromise<T> promise) |
Modifier and Type | Method and Description |
---|---|
protected RedissonCountDownLatchEntry |
CountDownLatchPubSub.createEntry(RPromise<RedissonCountDownLatchEntry> newPromise) |
protected RedissonLockEntry |
SemaphorePubSub.createEntry(RPromise<RedissonLockEntry> newPromise) |
protected RedissonLockEntry |
LockPubSub.createEntry(RPromise<RedissonLockEntry> newPromise) |
Modifier and Type | Method and Description |
---|---|
<V,R> void |
CommandReactiveBatchService.async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
int attempt,
boolean ignoreRedirect) |
Modifier and Type | Method and Description |
---|---|
<T extends RRemoteServiceResponse> |
ResponseEntry.Result.getPromise() |
Constructor and Description |
---|
Result(RPromise<? extends RRemoteServiceResponse> promise,
ScheduledFuture<?> scheduledFuture) |
Modifier and Type | Method and Description |
---|---|
<V,R> void |
CommandRxBatchService.async(boolean readOnlyMode,
NodeSource nodeSource,
Codec codec,
RedisCommand<V> command,
Object[] params,
RPromise<R> mainPromise,
int attempt,
boolean ignoreRedirect) |
Modifier and Type | Method and Description |
---|---|
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 |
RedissonTransactionalBucket.executeLocked(RPromise<R> promise,
Runnable runnable) |
protected <R> void |
BaseTransactionalSet.executeLocked(RPromise<R> promise,
Runnable runnable,
Collection<?> values) |
protected <R> void |
BaseTransactionalMap.executeLocked(RPromise<R> promise,
Runnable runnable,
Collection<K> keys) |
protected <R> void |
BaseTransactionalSet.executeLocked(RPromise<R> promise,
Runnable runnable,
RLock lock) |
protected <R> void |
BaseTransactionalMap.executeLocked(RPromise<R> promise,
Runnable runnable,
RLock lock) |
Copyright © 2014–2018 The Redisson Project. All rights reserved.