Package org.kairosdb.metrics4j.sinks
Enum TelnetSink.Resolution
- java.lang.Object
-
- java.lang.Enum<TelnetSink.Resolution>
-
- org.kairosdb.metrics4j.sinks.TelnetSink.Resolution
-
- All Implemented Interfaces:
Serializable,Comparable<TelnetSink.Resolution>
- Enclosing class:
- TelnetSink
public static enum TelnetSink.Resolution extends Enum<TelnetSink.Resolution>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MILLISECONDSSECONDS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TelnetSink.ResolutionvalueOf(String name)Returns the enum constant of this type with the specified name.static TelnetSink.Resolution[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECONDS
public static final TelnetSink.Resolution SECONDS
-
MILLISECONDS
public static final TelnetSink.Resolution MILLISECONDS
-
-
Method Detail
-
values
public static TelnetSink.Resolution[] 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 (TelnetSink.Resolution c : TelnetSink.Resolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TelnetSink.Resolution 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 nameNullPointerException- if the argument is null
-
-