Enum BrokerGauge

    • Enum Constant Detail

      • QUERY_QUOTA_CAPACITY_UTILIZATION_RATE

        public static final BrokerGauge QUERY_QUOTA_CAPACITY_UTILIZATION_RATE
      • MAX_BURST_QPS

        public static final BrokerGauge MAX_BURST_QPS
      • QUERY_RATE_LIMIT_DISABLED

        public static final BrokerGauge QUERY_RATE_LIMIT_DISABLED
      • NETTY_CONNECTION_CONNECT_TIME_MS

        public static final BrokerGauge NETTY_CONNECTION_CONNECT_TIME_MS
      • REQUEST_SIZE

        public static final BrokerGauge REQUEST_SIZE
      • RESIZE_TIME_MS

        public static final BrokerGauge RESIZE_TIME_MS
      • UNHEALTHY_SERVERS

        public static final BrokerGauge UNHEALTHY_SERVERS
    • Method Detail

      • values

        public static BrokerGauge[] 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 (BrokerGauge c : BrokerGauge.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BrokerGauge valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isGlobal

        public boolean isGlobal()
        Returns true if the gauge is global (not attached to a particular resource)
        Specified by:
        isGlobal in interface AbstractMetrics.Gauge
        Returns:
        true if the gauge is global