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()booleanisAtomic()booleanisBlockingCommand()booleanisExecuted()booleanisQueued()booleanisSkipResult()booleanisSyncSlaves()StringtoString()booleantryFailure(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:
getPubSubOperationsin interfaceQueueCommand
-
tryFailure
public boolean tryFailure(Throwable cause)
- Specified by:
tryFailurein interfaceQueueCommand
-
isExecuted
public boolean isExecuted()
- Specified by:
isExecutedin interfaceQueueCommand
-
isBlockingCommand
public boolean isBlockingCommand()
- Specified by:
isBlockingCommandin interfaceQueueCommand
-
-