@API(value=UNSTABLE) public static enum RecordSerializer.Counts extends Enum<RecordSerializer.Counts> implements StoreTimer.Count
Enum Constant and Description |
---|
ESCHEW_RECORD_COMPRESSION
The number of times that record compression was not effective and the record was kept uncompressed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSize()
Get whether the count value is actually a size in bytes.
|
String |
title()
Get the title of this event for user displays.
|
static RecordSerializer.Counts |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordSerializer.Counts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final RecordSerializer.Counts ESCHEW_RECORD_COMPRESSION
public static RecordSerializer.Counts[] values()
for (RecordSerializer.Counts c : RecordSerializer.Counts.values()) System.out.println(c);
public static RecordSerializer.Counts 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 title()
StoreTimer.Event
title
in interface StoreTimer.Event
public boolean isSize()
StoreTimer.Count
isSize
in interface StoreTimer.Count
true
if the count value is actually a size in bytes