Enum Class SystemCounterDescriptor

java.lang.Object
java.lang.Enum<SystemCounterDescriptor>
io.aeron.driver.status.SystemCounterDescriptor
All Implemented Interfaces:
Serializable, Comparable<SystemCounterDescriptor>, Constable

public enum SystemCounterDescriptor extends Enum<SystemCounterDescriptor>
System-wide counters for monitoring. These are separate from counters used for position tracking on streams.
  • Enum Constant Details

    • BYTES_SENT

      public static final SystemCounterDescriptor BYTES_SENT
      Running total of bytes sent for data over UDP, excluding IP headers.
    • BYTES_RECEIVED

      public static final SystemCounterDescriptor BYTES_RECEIVED
      Running total of bytes received for data over UDP, excluding IP headers.
    • RECEIVER_PROXY_FAILS

      public static final SystemCounterDescriptor RECEIVER_PROXY_FAILS
      Failed offers to the receiver proxy suggesting back-pressure.
    • SENDER_PROXY_FAILS

      public static final SystemCounterDescriptor SENDER_PROXY_FAILS
      Failed offers to the sender proxy suggesting back-pressure.
    • CONDUCTOR_PROXY_FAILS

      public static final SystemCounterDescriptor CONDUCTOR_PROXY_FAILS
      Failed offers to the driver conductor proxy suggesting back-pressure.
    • NAK_MESSAGES_SENT

      public static final SystemCounterDescriptor NAK_MESSAGES_SENT
      Count of NAKs sent back to senders requesting re-transmits.
    • NAK_MESSAGES_RECEIVED

      public static final SystemCounterDescriptor NAK_MESSAGES_RECEIVED
      Count of NAKs received from receivers requesting re-transmits.
    • STATUS_MESSAGES_SENT

      public static final SystemCounterDescriptor STATUS_MESSAGES_SENT
      Count of status messages sent back to senders for flow control.
    • STATUS_MESSAGES_RECEIVED

      public static final SystemCounterDescriptor STATUS_MESSAGES_RECEIVED
      Count of status messages received from receivers for flow control.
    • HEARTBEATS_SENT

      public static final SystemCounterDescriptor HEARTBEATS_SENT
      Count of heartbeat data frames sent to indicate liveness in the absence of data to send.
    • HEARTBEATS_RECEIVED

      public static final SystemCounterDescriptor HEARTBEATS_RECEIVED
      Count of heartbeat data frames received to indicate liveness in the absence of data to send.
    • RETRANSMITS_SENT

      public static final SystemCounterDescriptor RETRANSMITS_SENT
      Count of data packets re-transmitted as a result of NAKs.
    • FLOW_CONTROL_UNDER_RUNS

      public static final SystemCounterDescriptor FLOW_CONTROL_UNDER_RUNS
      Count of packets received which under-run the current flow control window for images.
    • FLOW_CONTROL_OVER_RUNS

      public static final SystemCounterDescriptor FLOW_CONTROL_OVER_RUNS
      Count of packets received which over-run the current flow control window for images.
    • INVALID_PACKETS

      public static final SystemCounterDescriptor INVALID_PACKETS
      Count of invalid packets received.
    • ERRORS

      public static final SystemCounterDescriptor ERRORS
      Count of errors observed by the driver and an indication to read the distinct error log.
    • SHORT_SENDS

      public static final SystemCounterDescriptor SHORT_SENDS
      Count of socket send operation which resulted in less than the packet length being sent.
    • FREE_FAILS

      public static final SystemCounterDescriptor FREE_FAILS
      Count of attempts to free log buffers no longer required by the driver which as still held by clients.
    • SENDER_FLOW_CONTROL_LIMITS

      public static final SystemCounterDescriptor SENDER_FLOW_CONTROL_LIMITS
      Count of the times a sender has entered the state of being back-pressured when it could have sent faster.
    • UNBLOCKED_PUBLICATIONS

      public static final SystemCounterDescriptor UNBLOCKED_PUBLICATIONS
      Count of the times a publication has been unblocked after a client failed to complete an offer within a timeout.
    • UNBLOCKED_COMMANDS

      public static final SystemCounterDescriptor UNBLOCKED_COMMANDS
      Count of the times a command has been unblocked after a client failed to complete an offer within a timeout.
    • POSSIBLE_TTL_ASYMMETRY

      public static final SystemCounterDescriptor POSSIBLE_TTL_ASYMMETRY
      Count of the times the channel endpoint detected a possible TTL asymmetry between its config and new connection.
    • CONTROLLABLE_IDLE_STRATEGY

      public static final SystemCounterDescriptor CONTROLLABLE_IDLE_STRATEGY
      Current status of the ControllableIdleStrategy if configured.
    • LOSS_GAP_FILLS

      public static final SystemCounterDescriptor LOSS_GAP_FILLS
      Count of the times a loss gap has been filled when NAKs have been disabled.
    • CLIENT_TIMEOUTS

      public static final SystemCounterDescriptor CLIENT_TIMEOUTS
      Count of the Aeron clients that have timed out without a graceful close.
    • RESOLUTION_CHANGES

      public static final SystemCounterDescriptor RESOLUTION_CHANGES
      Count of the times a connection endpoint has been re-resolved resulting in a change.
    • CONDUCTOR_MAX_CYCLE_TIME

      public static final SystemCounterDescriptor CONDUCTOR_MAX_CYCLE_TIME
      The maximum time spent by the conductor between work cycles.
    • CONDUCTOR_CYCLE_TIME_THRESHOLD_EXCEEDED

      public static final SystemCounterDescriptor CONDUCTOR_CYCLE_TIME_THRESHOLD_EXCEEDED
      Count of the number of times the cycle time threshold has been exceeded by the conductor in its work cycle.
    • SENDER_MAX_CYCLE_TIME

      public static final SystemCounterDescriptor SENDER_MAX_CYCLE_TIME
      The maximum time spent by the sender between work cycles.
    • SENDER_CYCLE_TIME_THRESHOLD_EXCEEDED

      public static final SystemCounterDescriptor SENDER_CYCLE_TIME_THRESHOLD_EXCEEDED
      Count of the number of times the cycle time threshold has been exceeded by the sender in its work cycle.
    • RECEIVER_MAX_CYCLE_TIME

      public static final SystemCounterDescriptor RECEIVER_MAX_CYCLE_TIME
      The maximum time spent by the receiver between work cycles.
    • RECEIVER_CYCLE_TIME_THRESHOLD_EXCEEDED

      public static final SystemCounterDescriptor RECEIVER_CYCLE_TIME_THRESHOLD_EXCEEDED
      Count of the number of times the cycle time threshold has been exceeded by the receiver in its work cycle.
    • NAME_RESOLVER_MAX_TIME

      public static final SystemCounterDescriptor NAME_RESOLVER_MAX_TIME
      The maximum time spent by the NameResolver in one of its operations.
      Since:
      1.41.0
    • NAME_RESOLVER_TIME_THRESHOLD_EXCEEDED

      public static final SystemCounterDescriptor NAME_RESOLVER_TIME_THRESHOLD_EXCEEDED
      Count of the number of times the time threshold has been exceeded by the NameResolver.
      Since:
      1.41.0
    • AERON_VERSION

      public static final SystemCounterDescriptor AERON_VERSION
      The version of the media driver.
      Since:
      1.43.0
    • BYTES_CURRENTLY_MAPPED

      public static final SystemCounterDescriptor BYTES_CURRENTLY_MAPPED
      The total number of bytes currently mapped in log buffers, CnC file, and loss report.
      Since:
      1.44.0
    • RETRANSMITTED_BYTES

      public static final SystemCounterDescriptor RETRANSMITTED_BYTES
      A minimum bound on the number of bytes re-transmitted as a result of NAKs.

      MDC retransmits are only counted once; therefore, this is a minimum bound rather than the actual number of retransmitted bytes. We may change this in the future.

      Note that retransmitted bytes are not included in the BYTES_SENT counter value. We may change this in the future.

      Since:
      1.45.0
    • RETRANSMIT_OVERFLOW

      public static final SystemCounterDescriptor RETRANSMIT_OVERFLOW
      A count of the number of times that the retransmit pool has been overflowed.
      Since:
      1.45.0
    • ERROR_FRAMES_RECEIVED

      public static final SystemCounterDescriptor ERROR_FRAMES_RECEIVED
      A count of the number of error frames received by this driver.
      Since:
      1.47.0
    • ERROR_FRAMES_SENT

      public static final SystemCounterDescriptor ERROR_FRAMES_SENT
      A count of the number of error frames sent by this driver.
      Since:
      1.47.0
    • PUBLICATIONS_REVOKED

      public static final SystemCounterDescriptor PUBLICATIONS_REVOKED
      A count of the number of publications that have been revoked.
      Since:
      1.48.0
    • PUBLICATION_IMAGES_REVOKED

      public static final SystemCounterDescriptor PUBLICATION_IMAGES_REVOKED
      A count of the number of publication images that have been revoked.
      Since:
      1.48.0
    • IMAGES_REJECTED

      public static final SystemCounterDescriptor IMAGES_REJECTED
      A count of the number of images that have been rejected.
      Since:
      1.48.0
    • CONTROL_PROTOCOL_VERSION

      public static final SystemCounterDescriptor CONTROL_PROTOCOL_VERSION
      The semantic version of the control protocol between clients and media driver.
      Since:
      1.49.0
  • Field Details

    • SYSTEM_COUNTER_TYPE_ID

      public static final int SYSTEM_COUNTER_TYPE_ID
      All system counters have the same type id, i.e. system counters are the same type. Other types can exist.
      See Also:
  • Method Details

    • values

      public static SystemCounterDescriptor[] 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 SystemCounterDescriptor 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
    • get

      public static SystemCounterDescriptor get(int id)
      Get the SystemCounterDescriptor for a given id.
      Parameters:
      id - for the descriptor.
      Returns:
      the descriptor if found otherwise null.
    • id

      public int id()
      The unique identity for the system counter.
      Returns:
      the unique identity for the system counter.
    • label

      public String label()
      The human-readable label to identify a system counter.
      Returns:
      the human-readable label to identify a system counter.
    • newCounter

      public AtomicCounter newCounter(CountersManager countersManager)
      Create a new counter for the enumerated descriptor.
      Parameters:
      countersManager - for managing the underlying storage.
      Returns:
      a new counter for the enumerated descriptor.