Package net.i2p.router.util
Interface PQEntry
- All Known Subinterfaces:
CDPQEntry
,FIFOBandwidthLimiter.Request
- All Known Implementing Classes:
OutboundGatewayMessage
,OutboundMessageState
,OutNetMessage
public interface PQEntry
For PriBlockingQueue
- Since:
- 0.9.3
-
Method Summary
Modifier and Type Method Description int
getPriority()
Higher is higher prioritylong
getSeqNum()
Needed to ensure FIFO ordering within a single priorityvoid
setSeqNum(long num)
To be set by the queue
-
Method Details
-
getPriority
int getPriority()Higher is higher priority -
setSeqNum
void setSeqNum(long num)To be set by the queue -
getSeqNum
long getSeqNum()Needed to ensure FIFO ordering within a single priority
-