Enum Class ChannelImpl.CHANNEL_ID
java.lang.Object
java.lang.Enum<ChannelImpl.CHANNEL_ID>
org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.CHANNEL_ID
- All Implemented Interfaces:
Serializable,Comparable<ChannelImpl.CHANNEL_ID>,Constable
- Enclosing class:
- ChannelImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncluster used for controlling nodes in a cluster remotelyUsed for core protocol management.Replication, i.e. for backups that do not share the journal.Session creation and attachment.Channels [0-9] are reserved for the system, user channels must be greater than that. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected static StringidToString(long code) static ChannelImpl.CHANNEL_IDReturns the enum constant of this class with the specified name.static ChannelImpl.CHANNEL_ID[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PING
Used for core protocol management. -
SESSION
Session creation and attachment. -
REPLICATION
Replication, i.e. for backups that do not share the journal. -
CLUSTER
cluster used for controlling nodes in a cluster remotely -
FEDERATION
-
USER
Channels [0-9] are reserved for the system, user channels must be greater than that.
-
-
Field Details
-
id
public final long id
-
-
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
-
idToString
-