Class TypedEnumMarshaller<E extends Enum<E>>
java.lang.Object
org.wildfly.clustering.marshalling.protostream.TypedEnumMarshaller<E>
- Type Parameters:
E- the enum type of this marshaller
- All Implemented Interfaces:
Marshallable<E>,Readable<E>,Writable<E>
Marshaller for a typed enumeration.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type of object handled by this marshallable instance.org.infinispan.protostream.descriptors.WireTypereadFrom(ProtoStreamReader reader) Reads an object from the specified reader.voidwriteTo(ProtoStreamWriter writer, E value) Writes the specified object to the specified writer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
size
-
Method Details
-
readFrom
Description copied from interface:ReadableReads an object from the specified reader. -
writeTo
Description copied from interface:WritableWrites the specified object to the specified writer. -
getJavaClass
Description copied from interface:MarshallableReturns the type of object handled by this marshallable instance.- Specified by:
getJavaClassin interfaceMarshallable<E extends Enum<E>>- Returns:
- the type of object handled by this marshallable instance.
-
getWireType
public org.infinispan.protostream.descriptors.WireType getWireType()
-