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>, org.wildfly.clustering.marshalling.protostream.Marshallable<org.hibernate.cache.internal.NaturalIdCacheKey>, org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>, org.wildfly.clustering.marshalling.protostream.Readable<org.hibernate.cache.internal.NaturalIdCacheKey>, org.wildfly.clustering.marshalling.protostream.Writable<org.hibernate.cache.internal.NaturalIdCacheKey>

public class NaturalIdCacheKeyMarshaller extends Object implements org.wildfly.clustering.marshalling.protostream.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
  • Field Summary

    Fields inherited from interface org.infinispan.protostream.BaseMarshaller

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Class<? extends org.hibernate.cache.internal.NaturalIdCacheKey>
     
    org.hibernate.cache.internal.NaturalIdCacheKey
    readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader)
     
    void
    writeTo(org.wildfly.clustering.marshalling.protostream.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, wait

    Methods inherited from interface org.infinispan.protostream.BaseMarshaller

    getSubClassNames

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable

    size

    Methods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller

    getTypeName, read, wrap, wrap, write
  • Constructor Details

    • NaturalIdCacheKeyMarshaller

      public NaturalIdCacheKeyMarshaller()
  • Method Details

    • getJavaClass

      public Class<? extends org.hibernate.cache.internal.NaturalIdCacheKey> getJavaClass()
      Specified by:
      getJavaClass in interface org.infinispan.protostream.BaseMarshaller<org.hibernate.cache.internal.NaturalIdCacheKey>
      Specified by:
      getJavaClass in interface org.wildfly.clustering.marshalling.protostream.Marshallable<org.hibernate.cache.internal.NaturalIdCacheKey>
    • readFrom

      public org.hibernate.cache.internal.NaturalIdCacheKey readFrom(org.wildfly.clustering.marshalling.protostream.ProtoStreamReader reader) throws IOException
      Specified by:
      readFrom in interface org.wildfly.clustering.marshalling.protostream.Readable<org.hibernate.cache.internal.NaturalIdCacheKey>
      Throws:
      IOException
    • writeTo

      public void writeTo(org.wildfly.clustering.marshalling.protostream.ProtoStreamWriter writer, org.hibernate.cache.internal.NaturalIdCacheKey key) throws IOException
      Specified by:
      writeTo in interface org.wildfly.clustering.marshalling.protostream.Writable<org.hibernate.cache.internal.NaturalIdCacheKey>
      Throws:
      IOException