Class PagePositionImpl
java.lang.Object
org.apache.activemq.artemis.core.paging.cursor.impl.PagePositionImpl
- All Implemented Interfaces:
Comparable<PagePosition>,PagePosition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintlonglonglonginthashCode()voidsetPersistentSize(long persistentSize) voidsetRecordID(long recordID) toString()
-
Constructor Details
-
PagePositionImpl
public PagePositionImpl(long pageNr, int messageNr)
-
-
Method Details
-
getRecordID
public long getRecordID()- Specified by:
getRecordIDin interfacePagePosition
-
setRecordID
public void setRecordID(long recordID) - Specified by:
setRecordIDin interfacePagePosition
-
getPageNr
public long getPageNr()- Specified by:
getPageNrin interfacePagePosition
-
getMessageNr
public int getMessageNr()- Specified by:
getMessageNrin interfacePagePosition
-
getPersistentSize
public long getPersistentSize()- Specified by:
getPersistentSizein interfacePagePosition
-
setPersistentSize
public void setPersistentSize(long persistentSize) - Specified by:
setPersistentSizein interfacePagePosition
-
compareTo
- Specified by:
compareToin interfaceComparable<PagePosition>
-
hashCode
public int hashCode() -
equals
-
toString
-