Enum Class IdentifierScalarMarshaller
java.lang.Object
java.lang.Enum<IdentifierScalarMarshaller>
org.wildfly.clustering.session.cache.IdentifierScalarMarshaller
- All Implemented Interfaces:
Serializable,Comparable<IdentifierScalarMarshaller>,Constable,org.wildfly.clustering.marshalling.protostream.Marshallable<String>,org.wildfly.clustering.marshalling.protostream.Readable<String>,org.wildfly.clustering.marshalling.protostream.ScalarMarshaller<String>,org.wildfly.clustering.marshalling.protostream.Writable<String>
public enum IdentifierScalarMarshaller
extends Enum<IdentifierScalarMarshaller>
implements org.wildfly.clustering.marshalling.protostream.ScalarMarshaller<String>
Scalar marshaller for a session identifier.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.protostream.descriptors.WireTypereadFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) <K extends org.wildfly.clustering.cache.Key<String>>
org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<K>toKeyMarshaller(Function<String, K> factory) static IdentifierScalarMarshallerReturns the enum constant of this class with the specified name.static IdentifierScalarMarshaller[]values()Returns an array containing the constants of this enum class, in the order they are declared.voidMethods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
sizeMethods inherited from interface org.wildfly.clustering.marshalling.protostream.ScalarMarshaller
toMarshaller, toMarshaller, toMarshaller, toMarshaller
-
Enum Constant Details
-
INSTANCE
-
-
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
-
readFrom
public String readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException - Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.protostream.Readable<String>- Throws:
IOException
-
writeTo
public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, String id) throws IOException - Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<String>- Throws:
IOException
-
getJavaClass
- Specified by:
getJavaClassin interfaceorg.wildfly.clustering.marshalling.protostream.Marshallable<String>
-
getWireType
public org.infinispan.protostream.descriptors.WireType getWireType()- Specified by:
getWireTypein interfaceorg.wildfly.clustering.marshalling.protostream.ScalarMarshaller<String>
-
toKeyMarshaller
-