Package org.redisson.client.protocol
Class CommandsData
java.lang.Object
org.redisson.client.protocol.CommandsData
- All Implemented Interfaces:
QueueCommand
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionCommandsData
(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<?,
?>> boolean
isAtomic()
boolean
boolean
boolean
isQueued()
boolean
boolean
toString()
boolean
tryFailure
(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:
getPubSubOperations
in interfaceQueueCommand
-
tryFailure
- Specified by:
tryFailure
in interfaceQueueCommand
-
toString
-
isExecuted
public boolean isExecuted()- Specified by:
isExecuted
in interfaceQueueCommand
-
isBlockingCommand
public boolean isBlockingCommand()- Specified by:
isBlockingCommand
in interfaceQueueCommand
-