Package org.apache.pinot.common.metrics
Enum ControllerMeter
- java.lang.Object
-
- java.lang.Enum<ControllerMeter>
-
- org.apache.pinot.common.metrics.ControllerMeter
-
- All Implemented Interfaces:
Serializable,Comparable<ControllerMeter>,AbstractMetrics.Meter
public enum ControllerMeter extends Enum<ControllerMeter> implements AbstractMetrics.Meter
Meters for the controller.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMeterName()StringgetUnit()booleanisGlobal()Returns true if the metric is global (not attached to a particular resource)static ControllerMetervalueOf(String name)Returns the enum constant of this type with the specified name.static ControllerMeter[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HELIX_ZOOKEEPER_RECONNECTS
public static final ControllerMeter HELIX_ZOOKEEPER_RECONNECTS
-
HEALTHCHECK_OK_CALLS
public static final ControllerMeter HEALTHCHECK_OK_CALLS
-
HEALTHCHECK_BAD_CALLS
public static final ControllerMeter HEALTHCHECK_BAD_CALLS
-
CONTROLLER_INSTANCE_POST_ERROR
public static final ControllerMeter CONTROLLER_INSTANCE_POST_ERROR
-
CONTROLLER_INSTANCE_DELETE_ERROR
public static final ControllerMeter CONTROLLER_INSTANCE_DELETE_ERROR
-
CONTROLLER_SEGMENT_UPLOAD_ERROR
public static final ControllerMeter CONTROLLER_SEGMENT_UPLOAD_ERROR
-
CONTROLLER_SCHEMA_UPLOAD_ERROR
public static final ControllerMeter CONTROLLER_SCHEMA_UPLOAD_ERROR
-
CONTROLLER_TABLE_ADD_ERROR
public static final ControllerMeter CONTROLLER_TABLE_ADD_ERROR
-
CONTROLLER_TABLE_UPDATE_ERROR
public static final ControllerMeter CONTROLLER_TABLE_UPDATE_ERROR
-
CONTROLLER_TABLE_SCHEMA_UPDATE_ERROR
public static final ControllerMeter CONTROLLER_TABLE_SCHEMA_UPDATE_ERROR
-
CONTROLLER_TABLE_TENANT_UPDATE_ERROR
public static final ControllerMeter CONTROLLER_TABLE_TENANT_UPDATE_ERROR
-
CONTROLLER_TABLE_TENANT_CREATE_ERROR
public static final ControllerMeter CONTROLLER_TABLE_TENANT_CREATE_ERROR
-
CONTROLLER_TABLE_TENANT_DELETE_ERROR
public static final ControllerMeter CONTROLLER_TABLE_TENANT_DELETE_ERROR
-
CONTROLLER_REALTIME_TABLE_SEGMENT_ASSIGNMENT_ERROR
public static final ControllerMeter CONTROLLER_REALTIME_TABLE_SEGMENT_ASSIGNMENT_ERROR
-
CONTROLLER_LEADERSHIP_CHANGE_WITHOUT_CALLBACK
public static final ControllerMeter CONTROLLER_LEADERSHIP_CHANGE_WITHOUT_CALLBACK
-
LLC_STATE_MACHINE_ABORTS
public static final ControllerMeter LLC_STATE_MACHINE_ABORTS
-
LLC_ZOOKEEPER_FETCH_FAILURES
public static final ControllerMeter LLC_ZOOKEEPER_FETCH_FAILURES
-
LLC_ZOOKEEPER_UPDATE_FAILURES
public static final ControllerMeter LLC_ZOOKEEPER_UPDATE_FAILURES
-
LLC_STREAM_DATA_LOSS
public static final ControllerMeter LLC_STREAM_DATA_LOSS
-
CONTROLLER_PERIODIC_TASK_RUN
public static final ControllerMeter CONTROLLER_PERIODIC_TASK_RUN
-
CONTROLLER_PERIODIC_TASK_ERROR
public static final ControllerMeter CONTROLLER_PERIODIC_TASK_ERROR
-
PERIODIC_TASK_ERROR
public static final ControllerMeter PERIODIC_TASK_ERROR
-
NUMBER_TIMES_SCHEDULE_TASKS_CALLED
public static final ControllerMeter NUMBER_TIMES_SCHEDULE_TASKS_CALLED
-
NUMBER_TASKS_SUBMITTED
public static final ControllerMeter NUMBER_TASKS_SUBMITTED
-
NUMBER_SEGMENT_UPLOAD_TIMEOUT_EXCEEDED
public static final ControllerMeter NUMBER_SEGMENT_UPLOAD_TIMEOUT_EXCEEDED
-
NUMBER_START_REPLACE_FAILURE
public static final ControllerMeter NUMBER_START_REPLACE_FAILURE
-
NUMBER_END_REPLACE_FAILURE
public static final ControllerMeter NUMBER_END_REPLACE_FAILURE
-
NUMBER_REVERT_REPLACE_FAILURE
public static final ControllerMeter NUMBER_REVERT_REPLACE_FAILURE
-
CRON_SCHEDULER_JOB_TRIGGERED
public static final ControllerMeter CRON_SCHEDULER_JOB_TRIGGERED
-
LLC_SEGMENTS_DEEP_STORE_UPLOAD_RETRY_ERROR
public static final ControllerMeter LLC_SEGMENTS_DEEP_STORE_UPLOAD_RETRY_ERROR
-
NUMBER_ADHOC_TASKS_SUBMITTED
public static final ControllerMeter NUMBER_ADHOC_TASKS_SUBMITTED
-
-
Method Detail
-
values
public static ControllerMeter[] 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 (ControllerMeter c : ControllerMeter.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ControllerMeter 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
-
getMeterName
public String getMeterName()
- Specified by:
getMeterNamein interfaceAbstractMetrics.Meter
-
getUnit
public String getUnit()
- Specified by:
getUnitin interfaceAbstractMetrics.Meter
-
isGlobal
public boolean isGlobal()
Returns true if the metric is global (not attached to a particular resource)- Specified by:
isGlobalin interfaceAbstractMetrics.Meter- Returns:
- true if the metric is global
-
-