public enum RedisSentinelCommand extends Enum<RedisSentinelCommand> implements io.vertx.redis.impl.AbstractCommand
Enum Constant and Description |
---|
CKQUORUM |
FAILOVER |
FLUSHCONFIG |
GET_MASTER_ADDR_BY_NAME |
INFO |
MASTER |
MASTERS |
PSUBSCRIBE |
PUNSUBSCRIBE |
QUIT |
RESET |
SENTINELS |
SLAVES |
SUBSCRIBE |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
String[] |
getTokens() |
static RedisSentinelCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedisSentinelCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedisSentinelCommand CKQUORUM
public static final RedisSentinelCommand FAILOVER
public static final RedisSentinelCommand FLUSHCONFIG
public static final RedisSentinelCommand GET_MASTER_ADDR_BY_NAME
public static final RedisSentinelCommand INFO
public static final RedisSentinelCommand MASTER
public static final RedisSentinelCommand MASTERS
public static final RedisSentinelCommand PSUBSCRIBE
public static final RedisSentinelCommand PUNSUBSCRIBE
public static final RedisSentinelCommand QUIT
public static final RedisSentinelCommand RESET
public static final RedisSentinelCommand SLAVES
public static final RedisSentinelCommand SENTINELS
public static final RedisSentinelCommand SUBSCRIBE
public static final RedisSentinelCommand UNSUBSCRIBE
public static RedisSentinelCommand[] values()
for (RedisSentinelCommand c : RedisSentinelCommand.values()) System.out.println(c);
public static RedisSentinelCommand 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 String[] getTokens()
getTokens
in interface io.vertx.redis.impl.AbstractCommand
Copyright © 2017. All rights reserved.