Class SessionKeyMarshaller<K extends org.wildfly.clustering.cache.Key<String>>
java.lang.Object
org.wildfly.clustering.session.cache.SessionKeyMarshaller<K>
- Type Parameters:
K- the cache key type
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<K>, org.infinispan.protostream.ProtobufTagMarshaller<K>, org.wildfly.clustering.marshalling.protostream.Marshallable<K>, org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<K>, org.wildfly.clustering.marshalling.protostream.Readable<K>, org.wildfly.clustering.marshalling.protostream.Writable<K>
-
Nested Class Summary
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 -
Field Summary
Fields inherited from interface org.infinispan.protostream.BaseMarshaller
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionSessionKeyMarshaller(Function<String, K> factory) Creates a session key marshaller using the specified factory -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
SessionKeyMarshaller
-
-
Method Details
-
readFrom
public K readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException - Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.protostream.Readable<K extends org.wildfly.clustering.cache.Key<String>>- Throws:
IOException
-
writeTo
public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, K key) throws IOException - Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.protostream.Writable<K extends org.wildfly.clustering.cache.Key<String>>- Throws:
IOException
-
getJavaClass
-