Enum ServerStatsFieldEnums.Id
- All Implemented Interfaces:
Serializable, Comparable<ServerStatsFieldEnums.Id>
- Enclosing class:
ServerStatsFieldEnums
Available Ids for
ServerStats attributes.- Since:
- 0.16
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionId for Latency observed at Load Balancer.Id for Latency observed at Server.Id for Trace options. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TreeMap<Integer, ServerStatsFieldEnums.Id> private final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvalue()Returns the numerical value of theServerStatsFieldEnums.Id.static ServerStatsFieldEnums.IdvalueOf(int value) Returns theServerStatsFieldEnums.Idrepresenting the value value of the id.static ServerStatsFieldEnums.IdReturns the enum constant of this type with the specified name.static ServerStatsFieldEnums.Id[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SERVER_STATS_LB_LATENCY_ID
Id for Latency observed at Load Balancer.- Since:
- 0.16
-
SERVER_STATS_SERVICE_LATENCY_ID
Id for Latency observed at Server.- Since:
- 0.16
-
SERVER_STATS_TRACE_OPTION_ID
Id for Trace options.- Since:
- 0.16
-
-
Field Details
-
value
private final int value -
map
-
-
Constructor Details
-
Id
private Id(int value)
-
-
Method Details
-
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
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
-
value
public int value()Returns the numerical value of theServerStatsFieldEnums.Id.- Returns:
- the numerical value of the
Id. - Since:
- 0.16
-
valueOf
Returns theServerStatsFieldEnums.Idrepresenting the value value of the id.- Parameters:
value- integer value for whichIdis being requested.- Returns:
- the numerical value of the id. null if the id is not valid
- Since:
- 0.16
-