Package | Description |
---|---|
org.redisson | |
org.redisson.api | |
org.redisson.command | |
org.redisson.reactive |
Modifier and Type | Method | Description |
---|---|---|
RBatch |
Redisson.createBatch(BatchOptions options) |
|
RBatchReactive |
RedissonReactive.createBatch(BatchOptions options) |
Constructor | Description |
---|---|
RedissonBatch(EvictionScheduler evictionScheduler,
ConnectionManager connectionManager,
BatchOptions options) |
Modifier and Type | Method | Description |
---|---|---|
BatchOptions |
BatchOptions.atomic() |
Deprecated.
|
static BatchOptions |
BatchOptions.defaults() |
|
BatchOptions |
BatchOptions.executionMode(BatchOptions.ExecutionMode executionMode) |
Sets execution mode.
|
BatchOptions |
BatchOptions.responseTimeout(long timeout,
TimeUnit unit) |
Defines timeout for Redis response.
|
BatchOptions |
BatchOptions.retryAttempts(int retryAttempts) |
Defines attempts amount to send Redis commands batch
if it hasn't been sent already.
|
BatchOptions |
BatchOptions.retryInterval(long retryInterval,
TimeUnit retryIntervalUnit) |
Defines time interval for each attempt to send Redis commands batch
if it hasn't been sent already.
|
BatchOptions |
BatchOptions.skipResult() |
Inform Redis not to send reply.
|
BatchOptions |
BatchOptions.syncSlaves(int slaves,
long timeout,
TimeUnit unit) |
Synchronize write operations execution within defined timeout
across specified amount of Redis slave nodes.
|
Modifier and Type | Method | Description |
---|---|---|
RBatch |
RedissonClient.createBatch(BatchOptions options) |
Creates batch object which could be executed later
with collected group of commands in pipeline mode.
|
RBatchReactive |
RedissonReactiveClient.createBatch(BatchOptions options) |
Return batch object which executes group of
command in pipeline.
|
Modifier and Type | Method | Description |
---|---|---|
BatchOptions |
CommandBatchService.getOptions() |
Modifier and Type | Method | Description |
---|---|---|
BatchResult<?> |
CommandBatchService.execute(BatchOptions options) |
|
<R> RFuture<R> |
CommandBatchService.executeAsync(BatchOptions options) |
|
RFuture<BatchResult<?>> |
CommandReactiveBatchService.executeAsync(BatchOptions options) |
Constructor | Description |
---|---|
CommandBatchService(ConnectionManager connectionManager,
BatchOptions options) |
Constructor | Description |
---|---|
RedissonBatchReactive(EvictionScheduler evictionScheduler,
ConnectionManager connectionManager,
CommandReactiveService commandExecutor,
BatchOptions options) |
Copyright © 2014–2018 The Redisson Project. All rights reserved.