Enum Class LeaderMetricsDoc

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

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

    • APPEND_ENTRIES_LATENCY

      public static final LeaderMetricsDoc APPEND_ENTRIES_LATENCY
      Latency to append an entry to a follower
    • APPEND_RATE

      public static final LeaderMetricsDoc APPEND_RATE
    • APPEND_DATA_RATE

      public static final LeaderMetricsDoc APPEND_DATA_RATE
      The count of entries appended (counting entries, not their size)
    • NON_REPLICATED_ENTRIES

      public static final LeaderMetricsDoc NON_REPLICATED_ENTRIES
      The number of non-replicated entries for a given followers
    • COMMIT_RATE

      public static final LeaderMetricsDoc COMMIT_RATE
      The count of entries committed (counting entries, not their size)
    • NON_COMMITTED_ENTRIES

      public static final LeaderMetricsDoc NON_COMMITTED_ENTRIES
      The number of non-committed entries on the leader
  • Method Details

    • values

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