Enum EventKeeper.Events

java.lang.Object
java.lang.Enum<EventKeeper.Events>
com.apple.foundationdb.EventKeeper.Events
All Implemented Interfaces:
EventKeeper.Event, Serializable, Comparable<EventKeeper.Events>, java.lang.constant.Constable
Enclosing interface:
EventKeeper

public static enum EventKeeper.Events extends Enum<EventKeeper.Events> implements EventKeeper.Event
An enumeration of static events which occur within the FDB Java driver.
  • Enum Constant Details

    • JNI_CALL

      public static final EventKeeper.Events JNI_CALL
      The number of JNI calls that were exercised.
    • BYTES_FETCHED

      public static final EventKeeper.Events BYTES_FETCHED
      The total number of bytes pulled from the native layer, including length delimiters., from ReadTransaction.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

      public static final EventKeeper.Events 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

      public static final EventKeeper.Events 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

      public static final EventKeeper.Events RANGE_QUERY_FETCHES
      The number of direct fetches made during a range query
    • RANGE_QUERY_RECORDS_FETCHED

      public static final EventKeeper.Events RANGE_QUERY_RECORDS_FETCHED
      The number of tuples fetched during a range query
    • RANGE_QUERY_CHUNK_FAILED

      public static final EventKeeper.Events RANGE_QUERY_CHUNK_FAILED
      The number of times a range query chunk fetch failed
    • RANGE_QUERY_FETCH_TIME_NANOS

      public static final EventKeeper.Events RANGE_QUERY_FETCH_TIME_NANOS
      The time taken to perform an internal `getRange` fetch, in nanoseconds
  • Method Details

    • values

      public static EventKeeper.Events[] 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

      public static EventKeeper.Events valueOf(String name)
      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 name
      NullPointerException - if the argument is null