Package org.wildfly.clustering.web.cache
Class SessionKeyMarshaller<K extends Key<String>>
java.lang.Object
org.wildfly.clustering.marshalling.protostream.FunctionalScalarMarshaller<K,String>
org.wildfly.clustering.web.cache.SessionKeyMarshaller<K>
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<K>,org.infinispan.protostream.ProtobufTagMarshaller<K>,Marshallable<K>,ProtoStreamMarshaller<K>,Readable<K>,Writable<K>
public class SessionKeyMarshaller<K extends Key<String>>
extends FunctionalScalarMarshaller<K,String>
Generic marshaller for cache keys containing session identifiers.
- Author:
- Paul Ferraro
-
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 -
Constructor Summary
ConstructorsConstructorDescriptionSessionKeyMarshaller(Class<K> targetClass, org.wildfly.common.function.ExceptionFunction<String, K, IOException> resolver) -
Method Summary
Methods inherited from class org.wildfly.clustering.marshalling.protostream.FunctionalScalarMarshaller
getJavaClass, readFrom, writeToMethods 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
sizeMethods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller
getTypeName, read, write
-
Constructor Details
-
SessionKeyMarshaller
public SessionKeyMarshaller(Class<K> targetClass, org.wildfly.common.function.ExceptionFunction<String, K, IOException> resolver)
-