Enum AddressableNodeSerializer
java.lang.Object
java.lang.Enum<AddressableNodeSerializer>
org.wildfly.clustering.server.infinispan.group.AddressableNodeSerializer
- All Implemented Interfaces:
Serializable,Comparable<AddressableNodeSerializer>,Serializer<AddressableNode>
public enum AddressableNodeSerializer
extends Enum<AddressableNodeSerializer>
implements Serializer<AddressableNode>
Marshalling externalizer for an
AddressableNode.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AddressableNodeSerializerReturns the enum constant of this type with the specified name.static AddressableNodeSerializer[]values()Returns an array containing the constants of this enum type, in the order they are declared.voidwrite(DataOutput output, AddressableNode node) Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.wildfly.clustering.marshalling.spi.Serializer
size
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
write
- Specified by:
writein interfaceSerializer<AddressableNode>- Throws:
IOException
-
read
- Specified by:
readin interfaceSerializer<AddressableNode>- Throws:
IOException
-