public class PersistedDestination extends Object implements org.hornetq.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(HornetQBuffer buffer) |
void |
encode(HornetQBuffer 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.hornetq.core.journal.EncodingSupportpublic void encode(HornetQBuffer buffer)
encode in interface org.hornetq.core.journal.EncodingSupportpublic void decode(HornetQBuffer buffer)
decode in interface org.hornetq.core.journal.EncodingSupportCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.