Class EncoderPersister

  • All Implemented Interfaces:
    org.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>

    public class EncoderPersister
    extends Object
    implements org.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
    This is a facade between the new Persister and the former EncodingSupport. Methods using the old interface will use this as a facade to provide the previous semantic.
    • Method Detail

      • getID

        public byte getID()
        Specified by:
        getID in interface org.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
      • getEncodeSize

        public int getEncodeSize​(EncodingSupport record)
        Specified by:
        getEncodeSize in interface org.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>