Package glide.api.models.commands
Enum InfoOptions.Section
- java.lang.Object
-
- java.lang.Enum<InfoOptions.Section>
-
- glide.api.models.commands.InfoOptions.Section
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InfoOptions.Section>
- Enclosing class:
- InfoOptions
public static enum InfoOptions.Section extends java.lang.Enum<InfoOptions.Section>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLALL: Return all sections (excluding module generated ones)CLIENTSCLIENTS: Client connections sectionCLUSTERCLUSTER: Valkey Cluster sectionCOMMANDSTATSCOMMANDSTATS: Valkey command statisticsCPUCPU: CPU consumption statisticsDEFAULTDEFAULT: Return only the default set of sectionsERRORSTATSERRORSTATS: Valkey error statisticsEVERYTHINGEVERYTHING: Includes all and modulesKEYSPACEKEYSPACE: Database related statisticsLATENCYSTATSLATENCYSTATS: Valkey command latency percentile distribution statisticsMEMORYMEMORY: Memory consumption related informationMODULESMODULES: Modules sectionPERSISTENCEPERSISTENCE: RDB and AOF related informationREPLICATIONREPLICATION: Master/replica replication informationSENTINELSENTINEL: Valkey Sentinel section (only applicable to Sentinel instances)SERVERSERVER: General information about the serverSTATSSTATS: General statistics
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InfoOptions.SectionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static InfoOptions.Section[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVER
public static final InfoOptions.Section SERVER
SERVER: General information about the server
-
CLIENTS
public static final InfoOptions.Section CLIENTS
CLIENTS: Client connections section
-
MEMORY
public static final InfoOptions.Section MEMORY
MEMORY: Memory consumption related information
-
PERSISTENCE
public static final InfoOptions.Section PERSISTENCE
PERSISTENCE: RDB and AOF related information
-
STATS
public static final InfoOptions.Section STATS
STATS: General statistics
-
REPLICATION
public static final InfoOptions.Section REPLICATION
REPLICATION: Master/replica replication information
-
CPU
public static final InfoOptions.Section CPU
CPU: CPU consumption statistics
-
COMMANDSTATS
public static final InfoOptions.Section COMMANDSTATS
COMMANDSTATS: Valkey command statistics
-
LATENCYSTATS
public static final InfoOptions.Section LATENCYSTATS
LATENCYSTATS: Valkey command latency percentile distribution statistics
-
SENTINEL
public static final InfoOptions.Section SENTINEL
SENTINEL: Valkey Sentinel section (only applicable to Sentinel instances)
-
CLUSTER
public static final InfoOptions.Section CLUSTER
CLUSTER: Valkey Cluster section
-
MODULES
public static final InfoOptions.Section MODULES
MODULES: Modules section
-
KEYSPACE
public static final InfoOptions.Section KEYSPACE
KEYSPACE: Database related statistics
-
ERRORSTATS
public static final InfoOptions.Section ERRORSTATS
ERRORSTATS: Valkey error statistics
-
ALL
public static final InfoOptions.Section ALL
ALL: Return all sections (excluding module generated ones)
-
DEFAULT
public static final InfoOptions.Section DEFAULT
DEFAULT: Return only the default set of sections
-
EVERYTHING
public static final InfoOptions.Section EVERYTHING
EVERYTHING: Includes all and modules
-
-
Method Detail
-
values
public static InfoOptions.Section[] 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 (InfoOptions.Section c : InfoOptions.Section.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InfoOptions.Section 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
-
-