com.janramm.metrics_zabbix.zabbix_key_enums
Enum SnapshotValueKeys

java.lang.Object
  extended by java.lang.Enum<SnapshotValueKeys>
      extended by com.janramm.metrics_zabbix.zabbix_key_enums.SnapshotValueKeys
All Implemented Interfaces:
Serializable, Comparable<SnapshotValueKeys>

public enum SnapshotValueKeys
extends Enum<SnapshotValueKeys>

This are the keys as they are expected to be specified in zabbix, for Histogram or Timer

Author:
jan.ramm

Enum Constant Summary
COUNT
           
MAX
           
MEAN
           
MEDIAN
           
MIN
           
P75TH
           
P95TH
           
P98TH
           
P999TH
           
P99TH
           
STDDEV
           
 
Method Summary
static SnapshotValueKeys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SnapshotValueKeys[] 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

MAX

public static final SnapshotValueKeys MAX

MIN

public static final SnapshotValueKeys MIN

MEDIAN

public static final SnapshotValueKeys MEDIAN

MEAN

public static final SnapshotValueKeys MEAN

STDDEV

public static final SnapshotValueKeys STDDEV

P75TH

public static final SnapshotValueKeys P75TH

P95TH

public static final SnapshotValueKeys P95TH

P98TH

public static final SnapshotValueKeys P98TH

P99TH

public static final SnapshotValueKeys P99TH

P999TH

public static final SnapshotValueKeys P999TH

COUNT

public static final SnapshotValueKeys COUNT
Method Detail

values

public static SnapshotValueKeys[] 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 (SnapshotValueKeys c : SnapshotValueKeys.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SnapshotValueKeys 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.