Package org.apache.pinot.common.metrics
Enum ControllerGauge
- java.lang.Object
-
- java.lang.Enum<ControllerGauge>
-
- org.apache.pinot.common.metrics.ControllerGauge
-
- All Implemented Interfaces:
Serializable,Comparable<ControllerGauge>,AbstractMetrics.Gauge
public enum ControllerGauge extends Enum<ControllerGauge> implements AbstractMetrics.Gauge
Controller gauges.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGaugeName()StringgetUnit()booleanisGlobal()Returns true if the gauge is global (not attached to a particular resource)static ControllerGaugevalueOf(String name)Returns the enum constant of this type with the specified name.static ControllerGauge[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER_OF_REPLICAS
public static final ControllerGauge NUMBER_OF_REPLICAS
-
PERCENT_OF_REPLICAS
public static final ControllerGauge PERCENT_OF_REPLICAS
-
SEGMENTS_IN_ERROR_STATE
public static final ControllerGauge SEGMENTS_IN_ERROR_STATE
-
PERCENT_SEGMENTS_AVAILABLE
public static final ControllerGauge PERCENT_SEGMENTS_AVAILABLE
-
SEGMENT_COUNT
public static final ControllerGauge SEGMENT_COUNT
-
IDEALSTATE_ZNODE_SIZE
public static final ControllerGauge IDEALSTATE_ZNODE_SIZE
-
IDEALSTATE_ZNODE_BYTE_SIZE
public static final ControllerGauge IDEALSTATE_ZNODE_BYTE_SIZE
-
REALTIME_TABLE_COUNT
public static final ControllerGauge REALTIME_TABLE_COUNT
-
OFFLINE_TABLE_COUNT
public static final ControllerGauge OFFLINE_TABLE_COUNT
-
DISABLED_TABLE_COUNT
public static final ControllerGauge DISABLED_TABLE_COUNT
-
PERIODIC_TASK_NUM_TABLES_PROCESSED
public static final ControllerGauge PERIODIC_TASK_NUM_TABLES_PROCESSED
-
NUM_MINION_TASKS_IN_PROGRESS
public static final ControllerGauge NUM_MINION_TASKS_IN_PROGRESS
-
NUM_MINION_SUBTASKS_WAITING
public static final ControllerGauge NUM_MINION_SUBTASKS_WAITING
-
NUM_MINION_SUBTASKS_RUNNING
public static final ControllerGauge NUM_MINION_SUBTASKS_RUNNING
-
NUM_MINION_SUBTASKS_ERROR
public static final ControllerGauge NUM_MINION_SUBTASKS_ERROR
-
PERCENT_MINION_SUBTASKS_IN_QUEUE
public static final ControllerGauge PERCENT_MINION_SUBTASKS_IN_QUEUE
-
PERCENT_MINION_SUBTASKS_IN_ERROR
public static final ControllerGauge PERCENT_MINION_SUBTASKS_IN_ERROR
-
PINOT_CONTROLLER_LEADER
public static final ControllerGauge PINOT_CONTROLLER_LEADER
-
PINOT_LEAD_CONTROLLER_RESOURCE_ENABLED
public static final ControllerGauge PINOT_LEAD_CONTROLLER_RESOURCE_ENABLED
-
CONTROLLER_LEADER_PARTITION_COUNT
public static final ControllerGauge CONTROLLER_LEADER_PARTITION_COUNT
-
OFFLINE_TABLE_ESTIMATED_SIZE
public static final ControllerGauge OFFLINE_TABLE_ESTIMATED_SIZE
-
TABLE_QUOTA
public static final ControllerGauge TABLE_QUOTA
-
TABLE_STORAGE_QUOTA_UTILIZATION
public static final ControllerGauge TABLE_STORAGE_QUOTA_UTILIZATION
-
TABLE_STORAGE_EST_MISSING_SEGMENT_PERCENT
public static final ControllerGauge TABLE_STORAGE_EST_MISSING_SEGMENT_PERCENT
-
CRON_SCHEDULER_JOB_SCHEDULED
public static final ControllerGauge CRON_SCHEDULER_JOB_SCHEDULED
-
TASK_STATUS
public static final ControllerGauge TASK_STATUS
-
DROPPED_MINION_INSTANCES
public static final ControllerGauge DROPPED_MINION_INSTANCES
-
ONLINE_MINION_INSTANCES
public static final ControllerGauge ONLINE_MINION_INSTANCES
-
-
Method Detail
-
values
public static ControllerGauge[] 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 (ControllerGauge c : ControllerGauge.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerGauge 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 nameNullPointerException- if the argument is null
-
getGaugeName
public String getGaugeName()
- Specified by:
getGaugeNamein interfaceAbstractMetrics.Gauge
-
getUnit
public String getUnit()
- Specified by:
getUnitin interfaceAbstractMetrics.Gauge
-
isGlobal
public boolean isGlobal()
Returns true if the gauge is global (not attached to a particular resource)- Specified by:
isGlobalin interfaceAbstractMetrics.Gauge- Returns:
- true if the gauge is global
-
-