Package io.aeron.driver.status
Enum Class SystemCounterDescriptor
- All Implemented Interfaces:
Serializable,Comparable<SystemCounterDescriptor>,Constable
System-wide counters for monitoring. These are separate from counters used for position tracking on streams.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe version of the media driver.The total number of bytes currently mapped in log buffers, CnC file, and loss report.Running total of bytes received for data over UDP, excluding IP headers.Running total of bytes sent for data over UDP, excluding IP headers.Count of the Aeron clients that have timed out without a graceful close.Count of the number of times the cycle time threshold has been exceeded by the conductor in its work cycle.The maximum time spent by the conductor between work cycles.Failed offers to the driver conductor proxy suggesting back-pressure.The semantic version of the control protocol between clients and media driver.Current status of theControllableIdleStrategyif configured.A count of the number of error frames received by this driver.A count of the number of error frames sent by this driver.Count of errors observed by the driver and an indication to read the distinct error log.Count of packets received which over-run the current flow control window for images.Count of packets received which under-run the current flow control window for images.Count of attempts to free log buffers no longer required by the driver which as still held by clients.Count of heartbeat data frames received to indicate liveness in the absence of data to send.Count of heartbeat data frames sent to indicate liveness in the absence of data to send.A count of the number of images that have been rejected.Count of invalid packets received.Count of the times a loss gap has been filled when NAKs have been disabled.Count of NAKs received from receivers requesting re-transmits.Count of NAKs sent back to senders requesting re-transmits.The maximum time spent by the NameResolver in one of its operations.Count of the number of times the time threshold has been exceeded by the NameResolver.Count of the times the channel endpoint detected a possible TTL asymmetry between its config and new connection.A count of the number of publication images that have been revoked.A count of the number of publications that have been revoked.Count of the number of times the cycle time threshold has been exceeded by the receiver in its work cycle.The maximum time spent by the receiver between work cycles.Failed offers to the receiver proxy suggesting back-pressure.Count of the times a connection endpoint has been re-resolved resulting in a change.A count of the number of times that the retransmit pool has been overflowed.Count of data packets re-transmitted as a result of NAKs.A minimum bound on the number of bytes re-transmitted as a result of NAKs.Count of the number of times the cycle time threshold has been exceeded by the sender in its work cycle.Count of the times a sender has entered the state of being back-pressured when it could have sent faster.The maximum time spent by the sender between work cycles.Failed offers to the sender proxy suggesting back-pressure.Count of socket send operation which resulted in less than the packet length being sent.Count of status messages received from receivers for flow control.Count of status messages sent back to senders for flow control.Count of the times a command has been unblocked after a client failed to complete an offer within a timeout.Count of the times a publication has been unblocked after a client failed to complete an offer within a timeout. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAll system counters have the same type id, i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic SystemCounterDescriptorget(int id) Get theSystemCounterDescriptorfor a given id.intid()The unique identity for the system counter.label()The human-readable label to identify a system counter.newCounter(CountersManager countersManager) Create a new counter for the enumerated descriptor.static SystemCounterDescriptorReturns the enum constant of this class with the specified name.static SystemCounterDescriptor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BYTES_SENT
Running total of bytes sent for data over UDP, excluding IP headers. -
BYTES_RECEIVED
Running total of bytes received for data over UDP, excluding IP headers. -
RECEIVER_PROXY_FAILS
Failed offers to the receiver proxy suggesting back-pressure. -
SENDER_PROXY_FAILS
Failed offers to the sender proxy suggesting back-pressure. -
CONDUCTOR_PROXY_FAILS
Failed offers to the driver conductor proxy suggesting back-pressure. -
NAK_MESSAGES_SENT
Count of NAKs sent back to senders requesting re-transmits. -
NAK_MESSAGES_RECEIVED
Count of NAKs received from receivers requesting re-transmits. -
STATUS_MESSAGES_SENT
Count of status messages sent back to senders for flow control. -
STATUS_MESSAGES_RECEIVED
Count of status messages received from receivers for flow control. -
HEARTBEATS_SENT
Count of heartbeat data frames sent to indicate liveness in the absence of data to send. -
HEARTBEATS_RECEIVED
Count of heartbeat data frames received to indicate liveness in the absence of data to send. -
RETRANSMITS_SENT
Count of data packets re-transmitted as a result of NAKs. -
FLOW_CONTROL_UNDER_RUNS
Count of packets received which under-run the current flow control window for images. -
FLOW_CONTROL_OVER_RUNS
Count of packets received which over-run the current flow control window for images. -
INVALID_PACKETS
Count of invalid packets received. -
ERRORS
Count of errors observed by the driver and an indication to read the distinct error log. -
SHORT_SENDS
Count of socket send operation which resulted in less than the packet length being sent. -
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
Count of the times a sender has entered the state of being back-pressured when it could have sent faster. -
UNBLOCKED_PUBLICATIONS
Count of the times a publication has been unblocked after a client failed to complete an offer within a timeout. -
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
Count of the times the channel endpoint detected a possible TTL asymmetry between its config and new connection. -
CONTROLLABLE_IDLE_STRATEGY
Current status of theControllableIdleStrategyif configured. -
LOSS_GAP_FILLS
Count of the times a loss gap has been filled when NAKs have been disabled. -
CLIENT_TIMEOUTS
Count of the Aeron clients that have timed out without a graceful close. -
RESOLUTION_CHANGES
Count of the times a connection endpoint has been re-resolved resulting in a change. -
CONDUCTOR_MAX_CYCLE_TIME
The maximum time spent by the conductor between work cycles. -
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
The maximum time spent by the sender between work cycles. -
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
The maximum time spent by the receiver between work cycles. -
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
The maximum time spent by the NameResolver in one of its operations.- Since:
- 1.41.0
-
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
The version of the media driver.- Since:
- 1.43.0
-
BYTES_CURRENTLY_MAPPED
The total number of bytes currently mapped in log buffers, CnC file, and loss report.- Since:
- 1.44.0
-
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_SENTcounter value. We may change this in the future.- Since:
- 1.45.0
-
RETRANSMIT_OVERFLOW
A count of the number of times that the retransmit pool has been overflowed.- Since:
- 1.45.0
-
ERROR_FRAMES_RECEIVED
A count of the number of error frames received by this driver.- Since:
- 1.47.0
-
ERROR_FRAMES_SENT
A count of the number of error frames sent by this driver.- Since:
- 1.47.0
-
PUBLICATIONS_REVOKED
A count of the number of publications that have been revoked.- Since:
- 1.48.0
-
PUBLICATION_IMAGES_REVOKED
A count of the number of publication images that have been revoked.- Since:
- 1.48.0
-
IMAGES_REJECTED
A count of the number of images that have been rejected.- Since:
- 1.48.0
-
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_IDAll system counters have the same type id, i.e. system counters are the same type. Other types can exist.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
get
Get theSystemCounterDescriptorfor 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
The human-readable label to identify a system counter.- Returns:
- the human-readable label to identify a system counter.
-
newCounter
Create a new counter for the enumerated descriptor.- Parameters:
countersManager- for managing the underlying storage.- Returns:
- a new counter for the enumerated descriptor.
-