Class PageCountPendingImpl
java.lang.Object
org.apache.activemq.artemis.core.persistence.impl.journal.codec.PageCountPendingImpl
- All Implemented Interfaces:
EncodingSupport,PageCountPending
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(ActiveMQBuffer buffer) voidencode(ActiveMQBuffer buffer) intlonggetID()longlongvoidsetID(long id) toString()
-
Constructor Details
-
PageCountPendingImpl
public PageCountPendingImpl() -
PageCountPendingImpl
public PageCountPendingImpl(long queueID, long pageID)
-
-
Method Details
-
toString
-
setID
public void setID(long id) -
getID
public long getID()- Specified by:
getIDin interfacePageCountPending
-
getQueueID
public long getQueueID()- Specified by:
getQueueIDin interfacePageCountPending
-
getPageID
public long getPageID()- Specified by:
getPageIDin interfacePageCountPending
-
getEncodeSize
public int getEncodeSize()- Specified by:
getEncodeSizein interfaceEncodingSupport
-
encode
- Specified by:
encodein interfaceEncodingSupport
-
decode
- Specified by:
decodein interfaceEncodingSupport
-