Package io.lettuce.core.protocol
Enum CommandKeyword
- java.lang.Object
-
- java.lang.Enum<CommandKeyword>
-
- io.lettuce.core.protocol.CommandKeyword
-
- All Implemented Interfaces:
ProtocolKeyword
,Serializable
,Comparable<CommandKeyword>
public enum CommandKeyword extends Enum<CommandKeyword> implements ProtocolKeyword
Keyword modifiers for redis commands.- Author:
- Will Glozer, Mark Paluch, Zhang Jessey, dengliming
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description byte[]
bytes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBytes()
static CommandKeyword
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommandKeyword[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.lettuce.core.protocol.ProtocolKeyword
name
-
-
-
-
Enum Constant Detail
-
ABSTTL
public static final CommandKeyword ABSTTL
-
ADDR
public static final CommandKeyword ADDR
-
ADDSLOTS
public static final CommandKeyword ADDSLOTS
-
ADDSLOTSRANGE
public static final CommandKeyword ADDSLOTSRANGE
-
AFTER
public static final CommandKeyword AFTER
-
AGGREGATE
public static final CommandKeyword AGGREGATE
-
ALLCHANNELS
public static final CommandKeyword ALLCHANNELS
-
ALLCOMMANDS
public static final CommandKeyword ALLCOMMANDS
-
ALLKEYS
public static final CommandKeyword ALLKEYS
-
ALPHA
public static final CommandKeyword ALPHA
-
AND
public static final CommandKeyword AND
-
ASK
public static final CommandKeyword ASK
-
ASC
public static final CommandKeyword ASC
-
ASYNC
public static final CommandKeyword ASYNC
-
BEFORE
public static final CommandKeyword BEFORE
-
BLOCK
public static final CommandKeyword BLOCK
-
BUMPEPOCH
public static final CommandKeyword BUMPEPOCH
-
BY
public static final CommandKeyword BY
-
BYLEX
public static final CommandKeyword BYLEX
-
BYSCORE
public static final CommandKeyword BYSCORE
-
CACHING
public static final CommandKeyword CACHING
-
CAT
public static final CommandKeyword CAT
-
CH
public static final CommandKeyword CH
-
CHANNELS
public static final CommandKeyword CHANNELS
-
COPY
public static final CommandKeyword COPY
-
COUNT
public static final CommandKeyword COUNT
-
COUNTKEYSINSLOT
public static final CommandKeyword COUNTKEYSINSLOT
-
CONSUMERS
public static final CommandKeyword CONSUMERS
-
CREATE
public static final CommandKeyword CREATE
-
DB
public static final CommandKeyword DB
-
DELSLOTS
public static final CommandKeyword DELSLOTS
-
DELSLOTSRANGE
public static final CommandKeyword DELSLOTSRANGE
-
DELUSER
public static final CommandKeyword DELUSER
-
DESC
public static final CommandKeyword DESC
-
DRYRUN
public static final CommandKeyword DRYRUN
-
SOFT
public static final CommandKeyword SOFT
-
HARD
public static final CommandKeyword HARD
-
ENCODING
public static final CommandKeyword ENCODING
-
FAILOVER
public static final CommandKeyword FAILOVER
-
FORGET
public static final CommandKeyword FORGET
-
FLUSH
public static final CommandKeyword FLUSH
-
FORCE
public static final CommandKeyword FORCE
-
FREQ
public static final CommandKeyword FREQ
-
FLUSHSLOTS
public static final CommandKeyword FLUSHSLOTS
-
GENPASS
public static final CommandKeyword GENPASS
-
GETNAME
public static final CommandKeyword GETNAME
-
GETUSER
public static final CommandKeyword GETUSER
-
GETKEYSINSLOT
public static final CommandKeyword GETKEYSINSLOT
-
GETREDIR
public static final CommandKeyword GETREDIR
-
GROUP
public static final CommandKeyword GROUP
-
GROUPS
public static final CommandKeyword GROUPS
-
HTSTATS
public static final CommandKeyword HTSTATS
-
ID
public static final CommandKeyword ID
-
IDLE
public static final CommandKeyword IDLE
-
INFO
public static final CommandKeyword INFO
-
IDLETIME
public static final CommandKeyword IDLETIME
-
JUSTID
public static final CommandKeyword JUSTID
-
KILL
public static final CommandKeyword KILL
-
KEYSLOT
public static final CommandKeyword KEYSLOT
-
LEFT
public static final CommandKeyword LEFT
-
LEN
public static final CommandKeyword LEN
-
LIMIT
public static final CommandKeyword LIMIT
-
LIST
public static final CommandKeyword LIST
-
LOAD
public static final CommandKeyword LOAD
-
LOG
public static final CommandKeyword LOG
-
MATCH
public static final CommandKeyword MATCH
-
MAX
public static final CommandKeyword MAX
-
MAXLEN
public static final CommandKeyword MAXLEN
-
MEET
public static final CommandKeyword MEET
-
MIN
public static final CommandKeyword MIN
-
MINID
public static final CommandKeyword MINID
-
MOVED
public static final CommandKeyword MOVED
-
NO
public static final CommandKeyword NO
-
NOACK
public static final CommandKeyword NOACK
-
NOCOMMANDS
public static final CommandKeyword NOCOMMANDS
-
NODE
public static final CommandKeyword NODE
-
NODES
public static final CommandKeyword NODES
-
NOMKSTREAM
public static final CommandKeyword NOMKSTREAM
-
NOPASS
public static final CommandKeyword NOPASS
-
NOSAVE
public static final CommandKeyword NOSAVE
-
NOT
public static final CommandKeyword NOT
-
NUMSUB
public static final CommandKeyword NUMSUB
-
NUMPAT
public static final CommandKeyword NUMPAT
-
NX
public static final CommandKeyword NX
-
OFF
public static final CommandKeyword OFF
-
ON
public static final CommandKeyword ON
-
ONE
public static final CommandKeyword ONE
-
OR
public static final CommandKeyword OR
-
PAUSE
public static final CommandKeyword PAUSE
-
REFCOUNT
public static final CommandKeyword REFCOUNT
-
REMOVE
public static final CommandKeyword REMOVE
-
RELOAD
public static final CommandKeyword RELOAD
-
REPLACE
public static final CommandKeyword REPLACE
-
REPLICATE
public static final CommandKeyword REPLICATE
-
REPLICAS
public static final CommandKeyword REPLICAS
-
REV
public static final CommandKeyword REV
-
RESET
public static final CommandKeyword RESET
-
RESETCHANNELS
public static final CommandKeyword RESETCHANNELS
-
RESETKEYS
public static final CommandKeyword RESETKEYS
-
RESETPASS
public static final CommandKeyword RESETPASS
-
RESETSTAT
public static final CommandKeyword RESETSTAT
-
RESTART
public static final CommandKeyword RESTART
-
RETRYCOUNT
public static final CommandKeyword RETRYCOUNT
-
REWRITE
public static final CommandKeyword REWRITE
-
RIGHT
public static final CommandKeyword RIGHT
-
SAVECONFIG
public static final CommandKeyword SAVECONFIG
-
SDSLEN
public static final CommandKeyword SDSLEN
-
SETINFO
public static final CommandKeyword SETINFO
-
SETNAME
public static final CommandKeyword SETNAME
-
SETSLOT
public static final CommandKeyword SETSLOT
-
SHARDS
public static final CommandKeyword SHARDS
-
SLOTS
public static final CommandKeyword SLOTS
-
STABLE
public static final CommandKeyword STABLE
-
MIGRATING
public static final CommandKeyword MIGRATING
-
IMPORTING
public static final CommandKeyword IMPORTING
-
SAVE
public static final CommandKeyword SAVE
-
SKIPME
public static final CommandKeyword SKIPME
-
SLAVES
public static final CommandKeyword SLAVES
-
STREAM
public static final CommandKeyword STREAM
-
STORE
public static final CommandKeyword STORE
-
SUM
public static final CommandKeyword SUM
-
SEGFAULT
public static final CommandKeyword SEGFAULT
-
SETUSER
public static final CommandKeyword SETUSER
-
TAKEOVER
public static final CommandKeyword TAKEOVER
-
TRACKING
public static final CommandKeyword TRACKING
-
TYPE
public static final CommandKeyword TYPE
-
UNBLOCK
public static final CommandKeyword UNBLOCK
-
USERS
public static final CommandKeyword USERS
-
USAGE
public static final CommandKeyword USAGE
-
WEIGHTS
public static final CommandKeyword WEIGHTS
-
WHOAMI
public static final CommandKeyword WHOAMI
-
WITHSCORE
public static final CommandKeyword WITHSCORE
-
WITHSCORES
public static final CommandKeyword WITHSCORES
-
WITHVALUES
public static final CommandKeyword WITHVALUES
-
XOR
public static final CommandKeyword XOR
-
XX
public static final CommandKeyword XX
-
YES
public static final CommandKeyword YES
-
-
Method Detail
-
values
public static CommandKeyword[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CommandKeyword c : CommandKeyword.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommandKeyword valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interfaceProtocolKeyword
- Returns:
- byte[] encoded representation.
-
-