public class PersistedDestination extends Object implements org.apache.activemq.artemis.core.journal.EncodingSupport
| Constructor and Description |
|---|
PersistedDestination() |
PersistedDestination(PersistedType type,
String name) |
PersistedDestination(PersistedType type,
String name,
String selector,
boolean durable) |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ActiveMQBuffer buffer) |
void |
encode(ActiveMQBuffer buffer) |
int |
getEncodeSize() |
long |
getId() |
String |
getName() |
String |
getSelector() |
PersistedType |
getType() |
boolean |
isDurable() |
void |
setId(long id) |
public PersistedDestination()
public PersistedDestination(PersistedType type, String name)
public PersistedDestination(PersistedType type, String name, String selector, boolean durable)
public long getId()
public void setId(long id)
public String getName()
public PersistedType getType()
public String getSelector()
public boolean isDurable()
public int getEncodeSize()
getEncodeSize in interface org.apache.activemq.artemis.core.journal.EncodingSupportpublic void encode(ActiveMQBuffer buffer)
encode in interface org.apache.activemq.artemis.core.journal.EncodingSupportpublic void decode(ActiveMQBuffer buffer)
decode in interface org.apache.activemq.artemis.core.journal.EncodingSupportCopyright © 2018 The Apache Software Foundation. All rights reserved.