Enum Class TelemetryApi

java.lang.Object
java.lang.Enum<TelemetryApi>
org.neo4j.driver.internal.telemetry.TelemetryApi
All Implemented Interfaces:
Serializable, Comparable<TelemetryApi>, Constable

public enum TelemetryApi extends Enum<TelemetryApi>
An enum of valid telemetry metrics.
  • Enum Constant Details

    • MANAGED_TRANSACTION

      public static final TelemetryApi MANAGED_TRANSACTION
    • UNMANAGED_TRANSACTION

      public static final TelemetryApi UNMANAGED_TRANSACTION
    • AUTO_COMMIT_TRANSACTION

      public static final TelemetryApi AUTO_COMMIT_TRANSACTION
    • EXECUTABLE_QUERY

      public static final TelemetryApi EXECUTABLE_QUERY
  • Method Details

    • values

      public static TelemetryApi[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TelemetryApi valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public Integer getValue()