Package org.redisson.client.protocol
Class CommandsData
java.lang.Object
org.redisson.client.protocol.CommandsData
- All Implemented Interfaces:
QueueCommand
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionCommandsData(CompletableFuture<Void> promise, List<CommandData<?, ?>> commands, boolean queued, boolean syncSlaves) CommandsData(CompletableFuture<Void> promise, List<CommandData<?, ?>> commands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves) CommandsData(CompletableFuture<Void> promise, List<CommandData<?, ?>> commands, List<CommandData<?, ?>> attachedCommands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves) -
Method Summary
Modifier and TypeMethodDescriptionList<CommandData<?, ?>> List<CommandData<?, ?>> booleanisAtomic()booleanbooleanbooleanisQueued()booleanbooleantoString()booleantryFailure(Throwable cause)
-
Constructor Details
-
CommandsData
public CommandsData(CompletableFuture<Void> promise, List<CommandData<?, ?>> commands, boolean queued, boolean syncSlaves) -
CommandsData
public CommandsData(CompletableFuture<Void> promise, List<CommandData<?, ?>> commands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves) -
CommandsData
public CommandsData(CompletableFuture<Void> promise, List<CommandData<?, ?>> commands, List<CommandData<?, ?>> attachedCommands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves)
-
-
Method Details
-
isSyncSlaves
public boolean isSyncSlaves() -
getPromise
-
isQueued
public boolean isQueued() -
isAtomic
public boolean isAtomic() -
isSkipResult
public boolean isSkipResult() -
getAttachedCommands
-
getCommands
-
getPubSubOperations
- Specified by:
getPubSubOperationsin interfaceQueueCommand
-
tryFailure
- Specified by:
tryFailurein interfaceQueueCommand
-
toString
-
isExecuted
public boolean isExecuted()- Specified by:
isExecutedin interfaceQueueCommand
-
isBlockingCommand
public boolean isBlockingCommand()- Specified by:
isBlockingCommandin interfaceQueueCommand
-