Class PersistedBindings

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

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

      • PersistedBindings

        public PersistedBindings()
      • PersistedBindings

        public PersistedBindings​(PersistedType type,
                                 java.lang.String name)
        Parameters:
        type -
        name -
    • Method Detail

      • decode

        public void decode​(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
        Specified by:
        decode 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
      • getEncodeSize

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

        public long getId()
        Returns:
        the id
      • setId

        public void setId​(long id)
        Parameters:
        id - the id to set
      • getName

        public java.lang.String getName()
        Returns:
        the name
      • getBindings

        public java.util.List<java.lang.String> getBindings()
        Returns:
        the bindings
      • addBinding

        public void addBinding​(java.lang.String address)
      • deleteBinding

        public void deleteBinding​(java.lang.String address)