Enum Class ClientStats.DropReason
- All Implemented Interfaces:
Serializable, Comparable<ClientStats.DropReason>, Constable
- Enclosing class:
ClientStats
Why a delivery left its subscription unprocessed.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe client dropped a QoS 0 delivery to keep within its limits on deliveries and their bytes.The end of the connection that delivered it discarded it while it waited.Its handler threw, the stripe of its striped handler could not be chosen, or its executor refused it.Its hand-off acceptor refused it.The client dropped a QoS 0 delivery to keep its subscription within its buffer capacity.Its subscription stopped while it waited. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientStats.DropReasonReturns the enum constant of this class with the specified name.static ClientStats.DropReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAILED
Its handler threw, the stripe of its striped handler could not be chosen, or its executor refused it. -
CONNECTION_ENDED
The end of the connection that delivered it discarded it while it waited. -
SUBSCRIPTION_STOPPED
Its subscription stopped while it waited. -
SUBSCRIPTION_FULL
The client dropped a QoS 0 delivery to keep its subscription within its buffer capacity. -
CLIENT_FULL
The client dropped a QoS 0 delivery to keep within its limits on deliveries and their bytes. -
REFUSED
Its hand-off acceptor refused it.
-
-
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
-