Package org.redisson.client.protocol
Class CommandsData
- java.lang.Object
-
- org.redisson.client.protocol.CommandsData
-
- All Implemented Interfaces:
QueueCommand
public class CommandsData extends Object implements QueueCommand
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean queued, boolean syncSlaves)
CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves)
CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, List<CommandData<?,?>> attachedCommands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<CommandData<?,?>>
getAttachedCommands()
List<CommandData<?,?>>
getCommands()
RPromise<Void>
getPromise()
List<CommandData<Object,Object>>
getPubSubOperations()
boolean
isAtomic()
boolean
isBlockingCommand()
boolean
isExecuted()
boolean
isQueued()
boolean
isSkipResult()
boolean
isSyncSlaves()
String
toString()
boolean
tryFailure(Throwable cause)
-
-
-
Constructor Detail
-
CommandsData
public CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean queued, boolean syncSlaves)
-
CommandsData
public CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves)
-
CommandsData
public CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, List<CommandData<?,?>> attachedCommands, boolean skipResult, boolean atomic, boolean queued, boolean syncSlaves)
-
-
Method Detail
-
isSyncSlaves
public boolean isSyncSlaves()
-
isQueued
public boolean isQueued()
-
isAtomic
public boolean isAtomic()
-
isSkipResult
public boolean isSkipResult()
-
getAttachedCommands
public List<CommandData<?,?>> getAttachedCommands()
-
getCommands
public List<CommandData<?,?>> getCommands()
-
getPubSubOperations
public List<CommandData<Object,Object>> getPubSubOperations()
- Specified by:
getPubSubOperations
in interfaceQueueCommand
-
tryFailure
public boolean tryFailure(Throwable cause)
- Specified by:
tryFailure
in interfaceQueueCommand
-
isExecuted
public boolean isExecuted()
- Specified by:
isExecuted
in interfaceQueueCommand
-
isBlockingCommand
public boolean isBlockingCommand()
- Specified by:
isBlockingCommand
in interfaceQueueCommand
-
-