Package com.apple.foundationdb
Enum EventKeeper.Events
- All Implemented Interfaces:
EventKeeper.Event
,Serializable
,Comparable<EventKeeper.Events>
,java.lang.constant.Constable
- Enclosing interface:
- EventKeeper
An enumeration of static events which occur within the FDB Java driver.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe total number of bytes pulled from the native layer, including length delimiters., fromReadTransaction.get(byte[])
,ReadTransaction.getKey(KeySelector)
,ReadTransaction.getRange(KeySelector, KeySelector)
(and related method overrides), or any other read-type operation which occurs on a TransactionThe number of JNI calls that were exercised.The number of times a range query chunk fetch failedThe number of times a DirectBuffer was used to transfer a range query chunk across the JNI boundaryThe number of times a range query chunk was unable to use a DirectBuffer to transfer data across the JNI boundaryThe time taken to perform an internal `getRange` fetch, in nanosecondsThe number of direct fetches made during a range queryThe number of tuples fetched during a range query -
Method Summary
Modifier and TypeMethodDescriptionstatic EventKeeper.Events
Returns the enum constant of this type with the specified name.static EventKeeper.Events[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.apple.foundationdb.EventKeeper.Event
isTimeEvent, name
-
Enum Constant Details
-
JNI_CALL
The number of JNI calls that were exercised. -
BYTES_FETCHED
The total number of bytes pulled from the native layer, including length delimiters., fromReadTransaction.get(byte[])
,ReadTransaction.getKey(KeySelector)
,ReadTransaction.getRange(KeySelector, KeySelector)
(and related method overrides), or any other read-type operation which occurs on a Transaction -
RANGE_QUERY_DIRECT_BUFFER_HIT
The number of times a DirectBuffer was used to transfer a range query chunk across the JNI boundary -
RANGE_QUERY_DIRECT_BUFFER_MISS
The number of times a range query chunk was unable to use a DirectBuffer to transfer data across the JNI boundary -
RANGE_QUERY_FETCHES
The number of direct fetches made during a range query -
RANGE_QUERY_RECORDS_FETCHED
The number of tuples fetched during a range query -
RANGE_QUERY_CHUNK_FAILED
The number of times a range query chunk fetch failed -
RANGE_QUERY_FETCH_TIME_NANOS
The time taken to perform an internal `getRange` fetch, in nanoseconds
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-