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 Summary
Constructors Constructor Description PersistedBindings()PersistedBindings(PersistedType type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBinding(String address)voiddecode(ActiveMQBuffer buffer)voiddeleteBinding(String address)voidencode(ActiveMQBuffer buffer)List<String>getBindings()intgetEncodeSize()longgetId()StringgetName()PersistedTypegetType()voidsetId(long id)
-
-
-
Constructor Detail
-
PersistedBindings
public PersistedBindings()
-
PersistedBindings
public PersistedBindings(PersistedType type, String name)
- Parameters:
type-name-
-
-
Method Detail
-
decode
public void decode(ActiveMQBuffer buffer)
- Specified by:
decodein interfaceEncodingSupport
-
encode
public void encode(ActiveMQBuffer buffer)
- Specified by:
encodein interfaceEncodingSupport
-
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSizein interfaceEncodingSupport
-
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
-
addBinding
public void addBinding(String address)
-
deleteBinding
public void deleteBinding(String address)
-
-