Class PersistedDestination
java.lang.Object
org.apache.activemq.artemis.jms.persistence.config.PersistedDestination
- All Implemented Interfaces:
EncodingSupport
-
Constructor Summary
ConstructorsConstructorDescriptionPersistedDestination(PersistedType type, String name) PersistedDestination(PersistedType type, String name, String selector, boolean durable) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(ActiveMQBuffer buffer) voidencode(ActiveMQBuffer buffer) intlonggetId()getName()getType()booleanvoidsetId(long id)
-
Constructor Details
-
PersistedDestination
public PersistedDestination() -
PersistedDestination
-
PersistedDestination
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getName
-
getType
-
getSelector
-
isDurable
public boolean isDurable() -
getEncodeSize
public int getEncodeSize()- Specified by:
getEncodeSizein interfaceEncodingSupport
-
encode
- Specified by:
encodein interfaceEncodingSupport
-
decode
- Specified by:
decodein interfaceEncodingSupport
-