Class PersistedDestination
- java.lang.Object
-
- org.apache.activemq.artemis.jms.persistence.config.PersistedDestination
-
- All Implemented Interfaces:
org.apache.activemq.artemis.core.journal.EncodingSupport
public class PersistedDestination extends java.lang.Object implements org.apache.activemq.artemis.core.journal.EncodingSupport
-
-
Constructor Summary
Constructors Constructor Description PersistedDestination()
PersistedDestination(PersistedType type, java.lang.String name)
PersistedDestination(PersistedType type, java.lang.String name, java.lang.String selector, boolean durable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
void
encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
int
getEncodeSize()
long
getId()
java.lang.String
getName()
java.lang.String
getSelector()
PersistedType
getType()
boolean
isDurable()
void
setId(long id)
-
-
-
Constructor Detail
-
PersistedDestination
public PersistedDestination()
-
PersistedDestination
public PersistedDestination(PersistedType type, java.lang.String name)
-
PersistedDestination
public PersistedDestination(PersistedType type, java.lang.String name, java.lang.String selector, boolean durable)
-
-
Method Detail
-
getId
public long getId()
-
setId
public void setId(long id)
-
getName
public java.lang.String getName()
-
getType
public PersistedType getType()
-
getSelector
public java.lang.String getSelector()
-
isDurable
public boolean isDurable()
-
getEncodeSize
public int getEncodeSize()
- Specified by:
getEncodeSize
in interfaceorg.apache.activemq.artemis.core.journal.EncodingSupport
-
encode
public void encode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
- Specified by:
encode
in interfaceorg.apache.activemq.artemis.core.journal.EncodingSupport
-
decode
public void decode(org.apache.activemq.artemis.api.core.ActiveMQBuffer buffer)
- Specified by:
decode
in interfaceorg.apache.activemq.artemis.core.journal.EncodingSupport
-
-