public enum MetricsTable extends Enum<MetricsTable>
Enum Constant and Description |
---|
INDEX |
ONE_HOUR |
RAW |
SIX_HOUR |
TWENTY_FOUR_HOUR |
Modifier and Type | Method and Description |
---|---|
String |
getTableName() |
int |
getTTL() |
long |
getTTLinMilliseconds() |
String |
toString() |
static MetricsTable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsTable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsTable INDEX
public static final MetricsTable RAW
public static final MetricsTable ONE_HOUR
public static final MetricsTable SIX_HOUR
public static final MetricsTable TWENTY_FOUR_HOUR
public static MetricsTable[] values()
for (MetricsTable c : MetricsTable.values()) System.out.println(c);
public static MetricsTable valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getTableName()
public int getTTL()
public long getTTLinMilliseconds()
public String toString()
toString
in class Enum<MetricsTable>
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.