Package net.i2p.router.util
Interface PQEntry
- All Known Subinterfaces:
CDPQEntry,FIFOBandwidthLimiter.Request
- All Known Implementing Classes:
OutboundGatewayMessage,OutboundMessageState,OutNetMessage,UDPPacket
public interface PQEntry
For PriBlockingQueue
- Since:
- 0.9.3
-
Method Summary
Modifier and TypeMethodDescriptionintHigher is higher prioritylongNeeded to ensure FIFO ordering within a single priorityvoidsetSeqNum(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
-