Enum Class ClientStats.OverloadCause
- All Implemented Interfaces:
Serializable, Comparable<ClientStats.OverloadCause>, Constable
- Enclosing class:
ClientStats
Why the client ended a connection as overloaded.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA QoS 1 or QoS 2 delivery did not fit a subscription's buffer or the client's limits on deliveries, their bytes, and their acknowledgement conditions.The client fell behind on incoming packets, control events, or keep-alive events.A hand-off acceptor refused a QoS 1 or QoS 2 delivery.The unfinished QoS 1 and QoS 2 receptions filled the client's receive table.CONNECT, PINGREQ, or DISCONNECT found no room in the send capacity reserved for them. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientStats.OverloadCauseReturns the enum constant of this class with the specified name.static ClientStats.OverloadCause[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RECEPTIONS
The unfinished QoS 1 and QoS 2 receptions filled the client's receive table. -
DELIVERIES
A QoS 1 or QoS 2 delivery did not fit a subscription's buffer or the client's limits on deliveries, their bytes, and their acknowledgement conditions. -
HAND_OFF
A hand-off acceptor refused a QoS 1 or QoS 2 delivery. -
EVENTS
The client fell behind on incoming packets, control events, or keep-alive events. It drops the QoS 0 publications that it falls behind on instead, counted underClientStats.Receiving.unrouted(). -
RESERVED_SENDS
CONNECT, PINGREQ, or DISCONNECT found no room in the send capacity reserved for them.
-
-
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
-