public static enum SchemaMetrics.BlockMetricType extends Enum<SchemaMetrics.BlockMetricType>
Enum Constant and Description |
---|
CACHE_HIT |
CACHE_MISS |
CACHE_SIZE |
CACHED |
EVICTED |
READ_COUNT |
READ_TIME |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SchemaMetrics.BlockMetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaMetrics.BlockMetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaMetrics.BlockMetricType READ_TIME
public static final SchemaMetrics.BlockMetricType READ_COUNT
public static final SchemaMetrics.BlockMetricType CACHE_HIT
public static final SchemaMetrics.BlockMetricType CACHE_MISS
public static final SchemaMetrics.BlockMetricType CACHE_SIZE
public static final SchemaMetrics.BlockMetricType CACHED
public static final SchemaMetrics.BlockMetricType EVICTED
public static SchemaMetrics.BlockMetricType[] values()
for (SchemaMetrics.BlockMetricType c : SchemaMetrics.BlockMetricType.values()) System.out.println(c);
public static SchemaMetrics.BlockMetricType 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 toString()
toString
in class Enum<SchemaMetrics.BlockMetricType>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.