Enum Class Monitoring.MetricTypes
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<Monitoring.MetricTypes>
,Constable
- Enclosing class:
Monitoring
public static enum Monitoring.MetricTypes
extends Enum<Monitoring.MetricTypes>
implements IntegerValuedEnum
Types of metrics.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll metrics.Decoding time: Reported each time a frame is sent to the client.Encoding time: Reported each time a frame is sent to the client.Network latency: Reported every 1 second.No metrics.Number of clients: Reported when a client is added or removed.Number of connections: Reported when a connection is added or removed.Number of render areas: Reported when a render area is added or removed.Rendering time: Reported each time a frame is rendered. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the integer value of the enum constant.static Monitoring.MetricTypes
valueOf
(int val) Returns the enum constant of this type with the specified integer valuestatic Monitoring.MetricTypes
Returns the enum constant of this class with the specified name.static Monitoring.MetricTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
No metrics. -
NETWORK_LATENCY
Network latency: Reported every 1 second. -
DECODING_TIME
Decoding time: Reported each time a frame is sent to the client. -
RENDERING_TIME
Rendering time: Reported each time a frame is rendered. -
ENCODING_TIME
Encoding time: Reported each time a frame is sent to the client. -
NUM_CLIENTS
Number of clients: Reported when a client is added or removed. -
NUM_CONNECTIONS
Number of connections: Reported when a connection is added or removed. -
NUM_RENDERAREAS
Number of render areas: Reported when a render area is added or removed. -
ALL
All metrics.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-