public class PersistedBindings extends Object implements org.apache.activemq.artemis.core.journal.EncodingSupport
Constructor and Description |
---|
PersistedBindings() |
PersistedBindings(PersistedType type,
String name) |
Modifier and Type | Method and Description |
---|---|
void |
addBinding(String address) |
void |
decode(ActiveMQBuffer buffer) |
void |
deleteBinding(String address) |
void |
encode(ActiveMQBuffer buffer) |
List<String> |
getBindings() |
int |
getEncodeSize() |
long |
getId() |
String |
getName() |
PersistedType |
getType() |
void |
setId(long id) |
public PersistedBindings()
public PersistedBindings(PersistedType type, String name)
type
- name
- public void decode(ActiveMQBuffer buffer)
decode
in interface org.apache.activemq.artemis.core.journal.EncodingSupport
public void encode(ActiveMQBuffer buffer)
encode
in interface org.apache.activemq.artemis.core.journal.EncodingSupport
public int getEncodeSize()
getEncodeSize
in interface org.apache.activemq.artemis.core.journal.EncodingSupport
public long getId()
public void setId(long id)
id
- the id to setpublic PersistedType getType()
public String getName()
public void addBinding(String address)
public void deleteBinding(String address)
Copyright © 2018 The Apache Software Foundation. All rights reserved.