public enum SystemCounterDescriptor extends java.lang.Enum<SystemCounterDescriptor>
Modifier and Type | Field and Description |
---|---|
static int |
SYSTEM_COUNTER_TYPE_ID
All system counters have the same type id, i.e.
|
Modifier and Type | Method and Description |
---|---|
static SystemCounterDescriptor |
get(int id)
Get the
SystemCounterDescriptor for a given id. |
int |
id()
The unique identity for the system counter.
|
java.lang.String |
label()
The human readable label to identify a system counter.
|
org.agrona.concurrent.status.AtomicCounter |
newCounter(org.agrona.concurrent.status.CountersManager countersManager)
Create a new counter for the enumerated descriptor.
|
static SystemCounterDescriptor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SystemCounterDescriptor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemCounterDescriptor BYTES_SENT
public static final SystemCounterDescriptor BYTES_RECEIVED
public static final SystemCounterDescriptor RECEIVER_PROXY_FAILS
public static final SystemCounterDescriptor SENDER_PROXY_FAILS
public static final SystemCounterDescriptor CONDUCTOR_PROXY_FAILS
public static final SystemCounterDescriptor NAK_MESSAGES_SENT
public static final SystemCounterDescriptor NAK_MESSAGES_RECEIVED
public static final SystemCounterDescriptor STATUS_MESSAGES_SENT
public static final SystemCounterDescriptor STATUS_MESSAGES_RECEIVED
public static final SystemCounterDescriptor HEARTBEATS_SENT
public static final SystemCounterDescriptor HEARTBEATS_RECEIVED
public static final SystemCounterDescriptor RETRANSMITS_SENT
public static final SystemCounterDescriptor FLOW_CONTROL_UNDER_RUNS
public static final SystemCounterDescriptor FLOW_CONTROL_OVER_RUNS
public static final SystemCounterDescriptor INVALID_PACKETS
public static final SystemCounterDescriptor ERRORS
public static final SystemCounterDescriptor SHORT_SENDS
public static final SystemCounterDescriptor FREE_FAILS
public static final SystemCounterDescriptor SENDER_FLOW_CONTROL_LIMITS
public static final SystemCounterDescriptor UNBLOCKED_PUBLICATIONS
public static final SystemCounterDescriptor UNBLOCKED_COMMANDS
public static final SystemCounterDescriptor POSSIBLE_TTL_ASYMMETRY
public static final SystemCounterDescriptor CONTROLLABLE_IDLE_STRATEGY
public static final SystemCounterDescriptor LOSS_GAP_FILLS
public static final SystemCounterDescriptor CLIENT_TIMEOUTS
public static final int SYSTEM_COUNTER_TYPE_ID
public static SystemCounterDescriptor[] values()
for (SystemCounterDescriptor c : SystemCounterDescriptor.values()) System.out.println(c);
public static SystemCounterDescriptor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SystemCounterDescriptor get(int id)
SystemCounterDescriptor
for a given id.id
- for the descriptor.public int id()
public java.lang.String label()
public org.agrona.concurrent.status.AtomicCounter newCounter(org.agrona.concurrent.status.CountersManager countersManager)
countersManager
- for managing the underlying storage.Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.