com.janramm.metrics_zabbix.zabbix_key_enums
Enum TimeBasedValueKeys

java.lang.Object
  extended by java.lang.Enum<TimeBasedValueKeys>
      extended by 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

Enum Constant Summary
COUNT
           
FIFTEEN_MINUTE_RATE
           
FIVE_MINUTE_RATE
           
MEAN_RATE
           
ONE_MINUTE_RATE
           
 
Method Summary
static TimeBasedValueKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TimeBasedValueKeys[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.