public enum SessionIdentifierMarshaller extends Enum<SessionIdentifierMarshaller> implements ScalarMarshaller<String>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends String> |
getJavaClass() |
org.infinispan.protostream.descriptors.WireType |
getWireType() |
String |
readFrom(ProtoStreamReader reader) |
static SessionIdentifierMarshaller |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionIdentifierMarshaller[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(ProtoStreamWriter writer,
String id) |
public static final SessionIdentifierMarshaller INSTANCE
public static SessionIdentifierMarshaller[] values()
for (SessionIdentifierMarshaller c : SessionIdentifierMarshaller.values()) System.out.println(c);
public static SessionIdentifierMarshaller valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String readFrom(ProtoStreamReader reader) throws IOException
readFrom in interface Marshallable<String>IOExceptionpublic void writeTo(ProtoStreamWriter writer, String id) throws IOException
writeTo in interface Marshallable<String>IOExceptionpublic Class<? extends String> getJavaClass()
getJavaClass in interface Marshallable<String>public org.infinispan.protostream.descriptors.WireType getWireType()
getWireType in interface ScalarMarshaller<String>Copyright © 2021 JBoss by Red Hat. All rights reserved.