public enum CommandKeyword extends Enum<CommandKeyword> implements ProtocolKeyword
Enum Constant and Description |
---|
ADDR |
ADDSLOTS |
AFTER |
AGGREGATE |
ALPHA |
AND |
ASC |
ASK |
ASYNC |
BEFORE |
BUMPEPOCH |
BY |
CHANNELS |
COPY |
COUNT |
COUNTKEYSINSLOT |
DELSLOTS |
DESC |
ENCODING |
FAILOVER |
FLUSH |
FLUSHSLOTS |
FORCE |
FORGET |
GETKEYSINSLOT |
GETNAME |
HARD |
HTSTATS |
ID |
IDLETIME |
IMPORTING |
KEYSLOT |
KILL |
LEN |
LIMIT |
LIST |
LOAD |
MATCH |
MAX |
MEET |
MIGRATING |
MIN |
MOVED |
NO |
NODE |
NODES |
NOSAVE |
NOT |
NUMPAT |
NUMSUB |
ONE |
OR |
PAUSE |
REFCOUNT |
RELOAD |
REMOVE |
REPLACE |
REPLICATE |
RESET |
RESETSTAT |
RESTART |
REWRITE |
SAVECONFIG |
SDSLEN |
SEGFAULT |
SETNAME |
SETSLOT |
SKIPME |
SLAVES |
SLOTS |
SOFT |
STABLE |
STORE |
SUM |
WEIGHTS |
WITHSCORES |
XOR |
Modifier and Type | Field and Description |
---|---|
byte[] |
bytes |
Modifier and Type | Method and 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final CommandKeyword ADDR
public static final CommandKeyword ADDSLOTS
public static final CommandKeyword AFTER
public static final CommandKeyword AGGREGATE
public static final CommandKeyword ALPHA
public static final CommandKeyword AND
public static final CommandKeyword ASK
public static final CommandKeyword ASC
public static final CommandKeyword ASYNC
public static final CommandKeyword BEFORE
public static final CommandKeyword BUMPEPOCH
public static final CommandKeyword BY
public static final CommandKeyword CHANNELS
public static final CommandKeyword COPY
public static final CommandKeyword COUNT
public static final CommandKeyword COUNTKEYSINSLOT
public static final CommandKeyword DELSLOTS
public static final CommandKeyword DESC
public static final CommandKeyword SOFT
public static final CommandKeyword HARD
public static final CommandKeyword ENCODING
public static final CommandKeyword FAILOVER
public static final CommandKeyword FORGET
public static final CommandKeyword FLUSH
public static final CommandKeyword FORCE
public static final CommandKeyword FLUSHSLOTS
public static final CommandKeyword GETNAME
public static final CommandKeyword GETKEYSINSLOT
public static final CommandKeyword HTSTATS
public static final CommandKeyword ID
public static final CommandKeyword IDLETIME
public static final CommandKeyword KILL
public static final CommandKeyword KEYSLOT
public static final CommandKeyword LEN
public static final CommandKeyword LIMIT
public static final CommandKeyword LIST
public static final CommandKeyword LOAD
public static final CommandKeyword MATCH
public static final CommandKeyword MAX
public static final CommandKeyword MEET
public static final CommandKeyword MIN
public static final CommandKeyword MOVED
public static final CommandKeyword NO
public static final CommandKeyword NODE
public static final CommandKeyword NODES
public static final CommandKeyword NOSAVE
public static final CommandKeyword NOT
public static final CommandKeyword NUMSUB
public static final CommandKeyword NUMPAT
public static final CommandKeyword ONE
public static final CommandKeyword OR
public static final CommandKeyword PAUSE
public static final CommandKeyword REFCOUNT
public static final CommandKeyword REMOVE
public static final CommandKeyword RELOAD
public static final CommandKeyword REPLACE
public static final CommandKeyword REPLICATE
public static final CommandKeyword RESET
public static final CommandKeyword RESETSTAT
public static final CommandKeyword RESTART
public static final CommandKeyword REWRITE
public static final CommandKeyword SAVECONFIG
public static final CommandKeyword SDSLEN
public static final CommandKeyword SETNAME
public static final CommandKeyword SETSLOT
public static final CommandKeyword SLOTS
public static final CommandKeyword STABLE
public static final CommandKeyword MIGRATING
public static final CommandKeyword IMPORTING
public static final CommandKeyword SKIPME
public static final CommandKeyword SLAVES
public static final CommandKeyword STORE
public static final CommandKeyword SUM
public static final CommandKeyword SEGFAULT
public static final CommandKeyword WEIGHTS
public static final CommandKeyword WITHSCORES
public static final CommandKeyword XOR
public static CommandKeyword[] values()
for (CommandKeyword c : CommandKeyword.values()) System.out.println(c);
public static CommandKeyword valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte[] getBytes()
getBytes
in interface ProtocolKeyword
Copyright © 2017 lettuce.io. All rights reserved.