Class QueueIndexEntry
java.lang.Object
com.swiftmq.impl.store.standard.index.IndexEntry
com.swiftmq.impl.store.standard.index.QueueIndexEntry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
int
int
void
readContent
(byte[] b, int offset) void
setDeliveryCount
(int deliveryCount) void
setExpirationTime
(long expirationTime) void
setPriority
(int priority) toString()
void
writeContent
(byte[] b, int offset) Methods inherited from class com.swiftmq.impl.store.standard.index.IndexEntry
equals, getKey, getRootPageNo, isValid, setKey, setRootPageNo, setValid
-
Constructor Details
-
QueueIndexEntry
public QueueIndexEntry()
-
-
Method Details
-
setPriority
public void setPriority(int priority) -
getPriority
public int getPriority() -
setDeliveryCount
public void setDeliveryCount(int deliveryCount) -
getDeliveryCount
public int getDeliveryCount() -
setExpirationTime
public void setExpirationTime(long expirationTime) -
getExpirationTime
public long getExpirationTime() -
getLength
public int getLength()- Specified by:
getLength
in classIndexEntry
-
writeContent
public void writeContent(byte[] b, int offset) - Specified by:
writeContent
in classIndexEntry
-
readContent
public void readContent(byte[] b, int offset) - Specified by:
readContent
in classIndexEntry
-
toString
- Overrides:
toString
in classIndexEntry
-