public class ClusterReadOnlyCommands extends Object
| Constructor and Description |
|---|
ClusterReadOnlyCommands() |
| Modifier and Type | Method and Description |
|---|---|
static ReadOnlyCommands.ReadOnlyPredicate |
asPredicate()
Return a
ReadOnlyCommands.ReadOnlyPredicate to test against the underlying
known commands. |
static Set<CommandType> |
getReadOnlyCommands() |
static boolean |
isReadOnlyCommand(ProtocolKeyword protocolKeyword) |
public static boolean isReadOnlyCommand(ProtocolKeyword protocolKeyword)
protocolKeyword - must not be null.true if ProtocolKeyword is a read-only command.public static Set<CommandType> getReadOnlyCommands()
public static ReadOnlyCommands.ReadOnlyPredicate asPredicate()
ReadOnlyCommands.ReadOnlyPredicate to test against the underlying
known commands.ReadOnlyCommands.ReadOnlyPredicate to test against the underlying
known commands.Copyright © 2023 lettuce.io. All rights reserved.