public static enum RedisSubscriptionConnection.CommandType extends Enum<RedisSubscriptionConnection.CommandType>
Enum Constant and Description |
---|
MESSAGE |
PMESSAGE |
PSUBSCRIBE |
PUNSUBSCRIBE |
SUBSCRIBE |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
static RedisSubscriptionConnection.CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisSubscriptionConnection.CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisSubscriptionConnection.CommandType SUBSCRIBE
public static final RedisSubscriptionConnection.CommandType UNSUBSCRIBE
public static final RedisSubscriptionConnection.CommandType PSUBSCRIBE
public static final RedisSubscriptionConnection.CommandType PUNSUBSCRIBE
public static final RedisSubscriptionConnection.CommandType MESSAGE
public static final RedisSubscriptionConnection.CommandType PMESSAGE
public static RedisSubscriptionConnection.CommandType[] values()
for (RedisSubscriptionConnection.CommandType c : RedisSubscriptionConnection.CommandType.values()) System.out.println(c);
public static RedisSubscriptionConnection.CommandType 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 nullCopyright © 2013- Suresh Mahalingam. All Rights Reserved.