Package org.apache.pinot.common.metrics
Enum ServerGauge
- java.lang.Object
-
- java.lang.Enum<ServerGauge>
-
- org.apache.pinot.common.metrics.ServerGauge
-
- All Implemented Interfaces:
Serializable,Comparable<ServerGauge>,AbstractMetrics.Gauge
public enum ServerGauge extends Enum<ServerGauge> implements AbstractMetrics.Gauge
Enumeration containing all the gauges exposed by the Pinot server.
-
-
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 ServerGaugevalueOf(String name)Returns the enum constant of this type with the specified name.static ServerGauge[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT_COUNT
public static final ServerGauge DOCUMENT_COUNT
-
SEGMENT_COUNT
public static final ServerGauge SEGMENT_COUNT
-
LLC_PARTITION_CONSUMING
public static final ServerGauge LLC_PARTITION_CONSUMING
-
HIGHEST_STREAM_OFFSET_CONSUMED
public static final ServerGauge HIGHEST_STREAM_OFFSET_CONSUMED
-
LAST_REALTIME_SEGMENT_CREATION_DURATION_SECONDS
public static final ServerGauge LAST_REALTIME_SEGMENT_CREATION_DURATION_SECONDS
-
LAST_REALTIME_SEGMENT_CREATION_WAIT_TIME_SECONDS
public static final ServerGauge LAST_REALTIME_SEGMENT_CREATION_WAIT_TIME_SECONDS
-
LAST_REALTIME_SEGMENT_INITIAL_CONSUMPTION_DURATION_SECONDS
public static final ServerGauge LAST_REALTIME_SEGMENT_INITIAL_CONSUMPTION_DURATION_SECONDS
-
LAST_REALTIME_SEGMENT_CATCHUP_DURATION_SECONDS
public static final ServerGauge LAST_REALTIME_SEGMENT_CATCHUP_DURATION_SECONDS
-
LAST_REALTIME_SEGMENT_COMPLETION_DURATION_SECONDS
public static final ServerGauge LAST_REALTIME_SEGMENT_COMPLETION_DURATION_SECONDS
-
REALTIME_OFFHEAP_MEMORY_USED
public static final ServerGauge REALTIME_OFFHEAP_MEMORY_USED
-
REALTIME_SEGMENT_NUM_PARTITIONS
public static final ServerGauge REALTIME_SEGMENT_NUM_PARTITIONS
-
LLC_SIMULTANEOUS_SEGMENT_BUILDS
public static final ServerGauge LLC_SIMULTANEOUS_SEGMENT_BUILDS
-
RESIZE_TIME_MS
public static final ServerGauge RESIZE_TIME_MS
-
UPSERT_PRIMARY_KEYS_COUNT
public static final ServerGauge UPSERT_PRIMARY_KEYS_COUNT
-
DEDUP_PRIMARY_KEYS_COUNT
public static final ServerGauge DEDUP_PRIMARY_KEYS_COUNT
-
-
Method Detail
-
values
public static ServerGauge[] 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 (ServerGauge c : ServerGauge.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerGauge 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
-
-