com.janramm.metrics_zabbix.zabbix_key_enums
Enum TimeBasedValueKeys
java.lang.Object
java.lang.Enum<TimeBasedValueKeys>
com.janramm.metrics_zabbix.zabbix_key_enums.TimeBasedValueKeys
- All Implemented Interfaces:
- Serializable, Comparable<TimeBasedValueKeys>
public enum TimeBasedValueKeys
- extends Enum<TimeBasedValueKeys>
This are the keys as they are expected to be specified in zabbix, for Meter or Timer
- Author:
- jan.ramm
MEAN_RATE
public static final TimeBasedValueKeys MEAN_RATE
ONE_MINUTE_RATE
public static final TimeBasedValueKeys ONE_MINUTE_RATE
FIVE_MINUTE_RATE
public static final TimeBasedValueKeys FIVE_MINUTE_RATE
FIFTEEN_MINUTE_RATE
public static final TimeBasedValueKeys FIFTEEN_MINUTE_RATE
COUNT
public static final TimeBasedValueKeys COUNT
values
public static TimeBasedValueKeys[] 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 (TimeBasedValueKeys c : TimeBasedValueKeys.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TimeBasedValueKeys 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 name
NullPointerException - if the argument is null
Copyright © 2013. All Rights Reserved.