Enum Class SimpleExpirationMetaDataMarshaller
java.lang.Object
java.lang.Enum<SimpleExpirationMetaDataMarshaller>
org.wildfly.clustering.server.infinispan.expiration.SimpleExpirationMetaDataMarshaller
- All Implemented Interfaces:
Serializable, Comparable<SimpleExpirationMetaDataMarshaller>, Constable, org.infinispan.protostream.BaseMarshaller<SimpleExpirationMetaData>, org.infinispan.protostream.ProtobufTagMarshaller<SimpleExpirationMetaData>, org.wildfly.clustering.marshalling.protostream.Marshallable<SimpleExpirationMetaData>, org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<SimpleExpirationMetaData>, org.wildfly.clustering.marshalling.protostream.Readable<SimpleExpirationMetaData>, org.wildfly.clustering.marshalling.protostream.Writable<SimpleExpirationMetaData>
public enum SimpleExpirationMetaDataMarshaller
extends Enum<SimpleExpirationMetaDataMarshaller>
implements org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<SimpleExpirationMetaData>
ProtoStream marshaller for a
SimpleExpirationMetaData.- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface org.infinispan.protostream.BaseMarshaller
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends SimpleExpirationMetaData> readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) Returns the enum constant of this class with the specified name.static SimpleExpirationMetaDataMarshaller[]values()Returns an array containing the constants of this enum class, in the order they are declared.voidwriteTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, SimpleExpirationMetaData metaData) Methods inherited from class Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.infinispan.protostream.BaseMarshaller
getSubClassNamesMethods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
sizeMethods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller
getTypeName, read, wrap, wrap, write
-
Enum Constant Details
-
INSTANCE
Singleton 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
-
getJavaClass
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<SimpleExpirationMetaData>- Specified by:
getJavaClassin interfaceorg.wildfly.clustering.marshalling.protostream.Marshallable<SimpleExpirationMetaData>
-
readFrom
public SimpleExpirationMetaData readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException - Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.protostream.Readable<SimpleExpirationMetaData>- Throws:
IOException
-
writeTo
public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, SimpleExpirationMetaData metaData) throws IOException - Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<SimpleExpirationMetaData>- Throws:
IOException
-