Package redis.clients.jedis
Enum Protocol.ClusterKeyword
- java.lang.Object
-
- java.lang.Enum<Protocol.ClusterKeyword>
-
- redis.clients.jedis.Protocol.ClusterKeyword
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Protocol.ClusterKeyword>,Rawable
- Enclosing class:
- Protocol
public static enum Protocol.ClusterKeyword extends java.lang.Enum<Protocol.ClusterKeyword> implements Rawable
Redis protocol cluster keywords enum.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDSLOTSADDSLOTSRANGEBUMPEPOCHCOUNTKEYSINSLOTDELSLOTSDELSLOTSRANGEFAILOVERFLUSHSLOTSFORGETGETKEYSINSLOTIMPORTINGINFOKEYSLOTLINKSMEETMIGRATINGMYIDMYSHARDIDNODENODESREPLICASREPLICATERESETSAVECONFIGSETSLOTSHARDSSLAVESSLOTSSTABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getRaw()Get byte array representation.static Protocol.ClusterKeywordvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Protocol.ClusterKeyword[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEET
public static final Protocol.ClusterKeyword MEET
-
RESET
public static final Protocol.ClusterKeyword RESET
-
INFO
public static final Protocol.ClusterKeyword INFO
-
FAILOVER
public static final Protocol.ClusterKeyword FAILOVER
-
SLOTS
public static final Protocol.ClusterKeyword SLOTS
-
NODES
public static final Protocol.ClusterKeyword NODES
-
REPLICAS
public static final Protocol.ClusterKeyword REPLICAS
-
SLAVES
public static final Protocol.ClusterKeyword SLAVES
-
MYID
public static final Protocol.ClusterKeyword MYID
-
ADDSLOTS
public static final Protocol.ClusterKeyword ADDSLOTS
-
DELSLOTS
public static final Protocol.ClusterKeyword DELSLOTS
-
GETKEYSINSLOT
public static final Protocol.ClusterKeyword GETKEYSINSLOT
-
SETSLOT
public static final Protocol.ClusterKeyword SETSLOT
-
NODE
public static final Protocol.ClusterKeyword NODE
-
MIGRATING
public static final Protocol.ClusterKeyword MIGRATING
-
IMPORTING
public static final Protocol.ClusterKeyword IMPORTING
-
STABLE
public static final Protocol.ClusterKeyword STABLE
-
FORGET
public static final Protocol.ClusterKeyword FORGET
-
FLUSHSLOTS
public static final Protocol.ClusterKeyword FLUSHSLOTS
-
KEYSLOT
public static final Protocol.ClusterKeyword KEYSLOT
-
COUNTKEYSINSLOT
public static final Protocol.ClusterKeyword COUNTKEYSINSLOT
-
SAVECONFIG
public static final Protocol.ClusterKeyword SAVECONFIG
-
REPLICATE
public static final Protocol.ClusterKeyword REPLICATE
-
LINKS
public static final Protocol.ClusterKeyword LINKS
-
ADDSLOTSRANGE
public static final Protocol.ClusterKeyword ADDSLOTSRANGE
-
DELSLOTSRANGE
public static final Protocol.ClusterKeyword DELSLOTSRANGE
-
BUMPEPOCH
public static final Protocol.ClusterKeyword BUMPEPOCH
-
MYSHARDID
public static final Protocol.ClusterKeyword MYSHARDID
-
SHARDS
public static final Protocol.ClusterKeyword SHARDS
-
-
Method Detail
-
values
public static Protocol.ClusterKeyword[] 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 (Protocol.ClusterKeyword c : Protocol.ClusterKeyword.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Protocol.ClusterKeyword valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-