Package org.apache.pinot.common.metrics
Enum BrokerTimer
- java.lang.Object
-
- java.lang.Enum<BrokerTimer>
-
- org.apache.pinot.common.metrics.BrokerTimer
-
- All Implemented Interfaces:
Serializable,Comparable<BrokerTimer>,java.lang.constant.Constable,AbstractMetrics.Timer
public enum BrokerTimer extends Enum<BrokerTimer> implements AbstractMetrics.Timer
Enumeration containing all the timers exposed by the Pinot broker.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description StringgetTimerName()booleanisGlobal()Returns true if the timer is global (not attached to a particular resource)static BrokerTimervalueOf(String name)Returns the enum constant of this type with the specified name.static BrokerTimer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROUTING_TABLE_UPDATE_TIME
public static final BrokerTimer ROUTING_TABLE_UPDATE_TIME
-
CLUSTER_CHANGE_QUEUE_TIME
public static final BrokerTimer CLUSTER_CHANGE_QUEUE_TIME
-
FRESHNESS_LAG_MS
public static final BrokerTimer FRESHNESS_LAG_MS
-
QUERY_TOTAL_TIME_MS
public static final BrokerTimer QUERY_TOTAL_TIME_MS
-
NETTY_CONNECTION_SEND_REQUEST_LATENCY
public static final BrokerTimer NETTY_CONNECTION_SEND_REQUEST_LATENCY
-
OFFLINE_THREAD_CPU_TIME_NS
public static final BrokerTimer OFFLINE_THREAD_CPU_TIME_NS
-
REALTIME_THREAD_CPU_TIME_NS
public static final BrokerTimer REALTIME_THREAD_CPU_TIME_NS
-
OFFLINE_SYSTEM_ACTIVITIES_CPU_TIME_NS
public static final BrokerTimer OFFLINE_SYSTEM_ACTIVITIES_CPU_TIME_NS
-
REALTIME_SYSTEM_ACTIVITIES_CPU_TIME_NS
public static final BrokerTimer REALTIME_SYSTEM_ACTIVITIES_CPU_TIME_NS
-
OFFLINE_RESPONSE_SER_CPU_TIME_NS
public static final BrokerTimer OFFLINE_RESPONSE_SER_CPU_TIME_NS
-
REALTIME_RESPONSE_SER_CPU_TIME_NS
public static final BrokerTimer REALTIME_RESPONSE_SER_CPU_TIME_NS
-
OFFLINE_TOTAL_CPU_TIME_NS
public static final BrokerTimer OFFLINE_TOTAL_CPU_TIME_NS
-
REALTIME_TOTAL_CPU_TIME_NS
public static final BrokerTimer REALTIME_TOTAL_CPU_TIME_NS
-
-
Method Detail
-
values
public static BrokerTimer[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrokerTimer 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
-
getTimerName
public String getTimerName()
- Specified by:
getTimerNamein interfaceAbstractMetrics.Timer
-
isGlobal
public boolean isGlobal()
Returns true if the timer is global (not attached to a particular resource)- Specified by:
isGlobalin interfaceAbstractMetrics.Timer- Returns:
- true if the timer is global
-
-