public class CommandsData extends Object implements QueueCommand
Constructor and Description |
---|
CommandsData(RPromise<Void> promise,
List<CommandData<?,?>> commands,
boolean queued) |
CommandsData(RPromise<Void> promise,
List<CommandData<?,?>> commands,
boolean skipResult,
boolean atomic,
boolean queued) |
CommandsData(RPromise<Void> promise,
List<CommandData<?,?>> commands,
List<CommandData<?,?>> attachedCommands,
boolean skipResult,
boolean atomic,
boolean queued) |
Modifier and Type | Method and 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() |
String |
toString() |
boolean |
tryFailure(Throwable cause) |
public CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean queued)
public CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, boolean skipResult, boolean atomic, boolean queued)
public CommandsData(RPromise<Void> promise, List<CommandData<?,?>> commands, List<CommandData<?,?>> attachedCommands, boolean skipResult, boolean atomic, boolean queued)
public boolean isQueued()
public boolean isAtomic()
public boolean isSkipResult()
public List<CommandData<?,?>> getAttachedCommands()
public List<CommandData<?,?>> getCommands()
public List<CommandData<Object,Object>> getPubSubOperations()
getPubSubOperations
in interface QueueCommand
public boolean tryFailure(Throwable cause)
tryFailure
in interface QueueCommand
public boolean isExecuted()
isExecuted
in interface QueueCommand
public boolean isBlockingCommand()
isBlockingCommand
in interface QueueCommand
Copyright © 2014–2020 Redisson. All rights reserved.