Class EncoderPersister
java.lang.Object
org.apache.activemq.artemis.core.journal.EncoderPersister
- All Implemented Interfaces:
org.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
public class EncoderPersister
extends Object
implements org.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
This is a facade between the new Persister and the former EncodingSupport. Methods using the old interface will use
this as a facade to provide the previous semantic.
-
Method Summary
Modifier and TypeMethodDescriptiondecode(ActiveMQBuffer buffer, EncodingSupport record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools) voidencode(ActiveMQBuffer buffer, EncodingSupport record) intgetEncodeSize(EncodingSupport record) bytegetID()static EncoderPersister
-
Method Details
-
getID
public byte getID()- Specified by:
getIDin interfaceorg.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
-
getInstance
-
getEncodeSize
- Specified by:
getEncodeSizein interfaceorg.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
-
encode
- Specified by:
encodein interfaceorg.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
-
decode
public EncodingSupport decode(ActiveMQBuffer buffer, EncodingSupport record, org.apache.activemq.artemis.core.persistence.CoreMessageObjectPools pools) - Specified by:
decodein interfaceorg.apache.activemq.artemis.core.persistence.Persister<EncodingSupport>
-