public static enum DBHandler.DBOption extends Enum<DBHandler.DBOption>
Enum Constant and Description |
---|
ALL
所有信息
|
CLIENTS
客户端的连接部分相关信息
|
CLUSTER
Redis集群信息
|
COMMANDSTATS
Redis命令统计相关信息
|
CPU
CPU的相关信息
|
DEFAULT
默认设置的信息
|
KEYSPACE
数据库的相关统计信息
|
MEMORY
内存消耗相关信息
|
PERSISTENCE
RDB和AOF相关信息
|
REPLICATION
主/从复制信息
|
SERVER
Redis服务器的一般信息
|
STATS
一般统计信息
|
Modifier and Type | Method and Description |
---|---|
static DBHandler.DBOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBHandler.DBOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBHandler.DBOption SERVER
public static final DBHandler.DBOption CLIENTS
public static final DBHandler.DBOption MEMORY
public static final DBHandler.DBOption PERSISTENCE
public static final DBHandler.DBOption STATS
public static final DBHandler.DBOption REPLICATION
public static final DBHandler.DBOption CPU
public static final DBHandler.DBOption COMMANDSTATS
public static final DBHandler.DBOption CLUSTER
public static final DBHandler.DBOption KEYSPACE
public static final DBHandler.DBOption ALL
public static final DBHandler.DBOption DEFAULT
public static DBHandler.DBOption[] values()
for (DBHandler.DBOption c : DBHandler.DBOption.values()) System.out.println(c);
public static DBHandler.DBOption 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 © 2019. All rights reserved.