Class PersistedDestination

  • All Implemented Interfaces:
    org.apache.activemq.artemis.core.journal.EncodingSupport

    public class PersistedDestination
    extends java.lang.Object
    implements org.apache.activemq.artemis.core.journal.EncodingSupport
    • Constructor Detail

      • PersistedDestination

        public PersistedDestination()
      • PersistedDestination

        public PersistedDestination​(PersistedType type,
                                    java.lang.String name)
      • PersistedDestination

        public PersistedDestination​(PersistedType type,
                                    java.lang.String name,
                                    java.lang.String selector,
                                    boolean durable)
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getName

        public java.lang.String getName()
      • getSelector

        public java.lang.String getSelector()
      • isDurable

        public boolean isDurable()
      • getEncodeSize

        public int getEncodeSize()
        Specified by:
        getEncodeSize in interface org.apache.activemq.artemis.core.journal.EncodingSupport
      • encode

        public void encode​(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
        Specified by:
        encode in interface org.apache.activemq.artemis.core.journal.EncodingSupport
      • decode

        public void decode​(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
        Specified by:
        decode in interface org.apache.activemq.artemis.core.journal.EncodingSupport