Enum Class Kind
- All Implemented Interfaces:
Serializable,Comparable<Kind>,Constable
Represents side of communication.
- Since:
- 1.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the operation covers the client-side wrapper around an RPC or other remote request.Indicates that the operation describes consumer receiving a message from a broker.Indicates that the operation describes producer sending a message to a broker.Indicates that the operation covers server-side handling of an RPC or other remote request. -
Method Summary
-
Enum Constant Details
-
SERVER
Indicates that the operation covers server-side handling of an RPC or other remote request. -
CLIENT
Indicates that the operation covers the client-side wrapper around an RPC or other remote request. -
PRODUCER
Indicates that the operation describes producer sending a message to a broker. Unlike client and server, there is no direct critical path latency relationship between producer and consumer operations. -
CONSUMER
Indicates that the operation describes consumer receiving a message from a broker. Unlike client and server, there is no direct critical path latency relationship between producer and consumer operation.
-
-
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
-