@API(value=UNSTABLE) public static enum RecordSerializer.Events extends Enum<RecordSerializer.Events> implements StoreTimer.DetailEvent
Enum Constant and Description |
---|
COMPRESS_SERIALIZED_RECORD
The amount of time spent compressing serialized bytes.
|
DECOMPRESS_SERIALIZED_RECORD
The amount of time spent decompressing serialized bytes.
|
DECRYPT_SERIALIZED_RECORD
The amount of time spent decrypting serialized bytes.
|
DESERIALIZE_PROTOBUF_RECORD
The amount of time spent deserializing a Protobuf record from bytes.
|
ENCRYPT_SERIALIZED_RECORD
The amount of time spent encrypting serialized bytes.
|
SERIALIZE_PROTOBUF_RECORD
The amount of time spent serializing a Protobuf record to bytes.
|
Modifier and Type | Method and Description |
---|---|
String |
logKey()
Get the key of this event for logging.
|
String |
title()
Get the title of this event for user displays.
|
static RecordSerializer.Events |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordSerializer.Events[] |
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.Events SERIALIZE_PROTOBUF_RECORD
public static final RecordSerializer.Events DESERIALIZE_PROTOBUF_RECORD
public static final RecordSerializer.Events COMPRESS_SERIALIZED_RECORD
public static final RecordSerializer.Events DECOMPRESS_SERIALIZED_RECORD
public static final RecordSerializer.Events ENCRYPT_SERIALIZED_RECORD
public static final RecordSerializer.Events DECRYPT_SERIALIZED_RECORD
public static RecordSerializer.Events[] values()
for (RecordSerializer.Events c : RecordSerializer.Events.values()) System.out.println(c);
public static RecordSerializer.Events 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
@Nonnull public String logKey()
StoreTimer.Event
KeyValueLogMessage
s and other key-value based logging
systems to log the values from instrumented events. These keys are
not expected to change frequently. They may, however, change
outside of any minor version change. Their values, therefore,
should not be relied upon, other than for the logging purposes.logKey
in interface StoreTimer.Event