Class PersistedBindings

java.lang.Object
org.apache.activemq.artemis.jms.persistence.config.PersistedBindings
All Implemented Interfaces:
EncodingSupport

public class PersistedBindings extends Object implements EncodingSupport
  • Constructor Details

    • PersistedBindings

      public PersistedBindings()
    • PersistedBindings

      public PersistedBindings(PersistedType type, String name)
      Parameters:
      type -
      name -
  • Method Details

    • decode

      public void decode(ActiveMQBuffer buffer)
      Specified by:
      decode in interface EncodingSupport
    • encode

      public void encode(ActiveMQBuffer buffer)
      Specified by:
      encode in interface EncodingSupport
    • getEncodeSize

      public int getEncodeSize()
      Specified by:
      getEncodeSize in interface EncodingSupport
    • getId

      public long getId()
      Returns:
      the id
    • setId

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

      public PersistedType getType()
      Returns:
      the type
    • getName

      public String getName()
      Returns:
      the name
    • getBindings

      public List<String> getBindings()
      Returns:
      the bindings
    • addBinding

      public void addBinding(String address)
    • deleteBinding

      public void deleteBinding(String address)