Enum InfoOptions.Section

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL
      ALL: Return all sections (excluding module generated ones)
      CLIENTS
      CLIENTS: Client connections section
      CLUSTER
      CLUSTER: Valkey Cluster section
      COMMANDSTATS
      COMMANDSTATS: Valkey command statistics
      CPU
      CPU: CPU consumption statistics
      DEFAULT
      DEFAULT: Return only the default set of sections
      ERRORSTATS
      ERRORSTATS: Valkey error statistics
      EVERYTHING
      EVERYTHING: Includes all and modules
      KEYSPACE
      KEYSPACE: Database related statistics
      LATENCYSTATS
      LATENCYSTATS: Valkey command latency percentile distribution statistics
      MEMORY
      MEMORY: Memory consumption related information
      MODULES
      MODULES: Modules section
      PERSISTENCE
      PERSISTENCE: RDB and AOF related information
      REPLICATION
      REPLICATION: Master/replica replication information
      SENTINEL
      SENTINEL: Valkey Sentinel section (only applicable to Sentinel instances)
      SERVER
      SERVER: General information about the server
      STATS
      STATS: General statistics
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InfoOptions.Section valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SERVER

        public static final InfoOptions.Section SERVER
        SERVER: General information about the server
      • 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
      • REPLICATION

        public static final InfoOptions.Section REPLICATION
        REPLICATION: Master/replica replication information
      • 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)
      • 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 name
        java.lang.NullPointerException - if the argument is null