Enum Class RaftRoleMetricsDoc

java.lang.Object
java.lang.Enum<RaftRoleMetricsDoc>
io.atomix.raft.metrics.RaftRoleMetricsDoc
All Implemented Interfaces:
ExtendedMeterDocumentation, io.micrometer.core.instrument.docs.MeterDocumentation, Serializable, Comparable<RaftRoleMetricsDoc>, Constable

public enum RaftRoleMetricsDoc extends Enum<RaftRoleMetricsDoc> implements ExtendedMeterDocumentation
  • Enum Constant Details

    • ROLE

      public static final RaftRoleMetricsDoc ROLE
      Shows current role
    • HEARTBEAT_MISS

      public static final RaftRoleMetricsDoc HEARTBEAT_MISS
      Count of missing heartbeats
    • HEARTBEAT_TIME

      public static final RaftRoleMetricsDoc HEARTBEAT_TIME
      Time between heartbeats
    • ELECTION_LATENCY

      public static final RaftRoleMetricsDoc ELECTION_LATENCY
      Duration for election
  • Method Details

    • values

      public static RaftRoleMetricsDoc[] 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 RaftRoleMetricsDoc 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