Package org.jboss.as.jpa.hibernate.cache
Class NaturalIdCacheKeyMarshaller
java.lang.Object
org.jboss.as.jpa.hibernate.cache.NaturalIdCacheKeyMarshaller
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>,org.infinispan.protostream.ProtobufTagMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>,Marshallable<org.hibernate.cache.internal.NaturalIdCacheKey>,ProtoStreamMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>,Readable<org.hibernate.cache.internal.NaturalIdCacheKey>,Writable<org.hibernate.cache.internal.NaturalIdCacheKey>
public class NaturalIdCacheKeyMarshaller
extends Object
implements ProtoStreamMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>
ProtoStream marshaller for
NaturalIdCacheKey.- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.hibernate.cache.internal.NaturalIdCacheKey>org.hibernate.cache.internal.NaturalIdCacheKeyreadFrom(ProtoStreamReader reader) voidwriteTo(ProtoStreamWriter writer, org.hibernate.cache.internal.NaturalIdCacheKey key) Methods 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
-
NaturalIdCacheKeyMarshaller
public NaturalIdCacheKeyMarshaller()
-
-
Method Details
-
getJavaClass
- Specified by:
getJavaClassin interfaceorg.infinispan.protostream.BaseMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>- Specified by:
getJavaClassin interfaceMarshallable<org.hibernate.cache.internal.NaturalIdCacheKey>
-
readFrom
public org.hibernate.cache.internal.NaturalIdCacheKey readFrom(ProtoStreamReader reader) throws IOException - Specified by:
readFromin interfaceReadable<org.hibernate.cache.internal.NaturalIdCacheKey>- Throws:
IOException
-
writeTo
public void writeTo(ProtoStreamWriter writer, org.hibernate.cache.internal.NaturalIdCacheKey key) throws IOException - Specified by:
writeToin interfaceWritable<org.hibernate.cache.internal.NaturalIdCacheKey>- Throws:
IOException
-