public enum ClientType extends java.lang.Enum<ClientType> implements Rawable
| Enum Constant and Description |
|---|
MASTER |
NORMAL |
PUBSUB |
REPLICA |
SLAVE |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getRaw()
Get byte array.
|
static ClientType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientType NORMAL
public static final ClientType MASTER
public static final ClientType SLAVE
public static final ClientType REPLICA
public static final ClientType PUBSUB
public static ClientType[] values()
for (ClientType c : ClientType.values()) System.out.println(c);
public static ClientType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2025. All rights reserved.