org.hornetq.jms.persistence.config
Class PersistedDestination
java.lang.Object
org.hornetq.jms.persistence.config.PersistedDestination
- All Implemented Interfaces:
- org.hornetq.core.journal.EncodingSupport
public class PersistedDestination
- extends Object
- implements org.hornetq.core.journal.EncodingSupport
A PersistedDestination
- Author:
- Clebert Suconic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistedDestination
public PersistedDestination()
PersistedDestination
public PersistedDestination(PersistedType type,
String name)
PersistedDestination
public PersistedDestination(PersistedType type,
String name,
String selector,
boolean durable)
getId
public long getId()
setId
public void setId(long id)
getName
public String getName()
getType
public PersistedType getType()
getSelector
public String getSelector()
isDurable
public boolean isDurable()
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSize
in interface org.hornetq.core.journal.EncodingSupport
encode
public void encode(HornetQBuffer buffer)
- Specified by:
encode
in interface org.hornetq.core.journal.EncodingSupport
decode
public void decode(HornetQBuffer buffer)
- Specified by:
decode
in interface org.hornetq.core.journal.EncodingSupport
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.