net.i2p.router.util
Interface PQEntry

All Known Subinterfaces:
CDPQEntry
All Known Implementing Classes:
OutboundGatewayMessage, OutboundMessageState, OutNetMessage

public interface PQEntry

For PriBlockingQueue

Since:
0.9.3

Method Summary
 int getPriority()
          Higher is higher priority
 long getSeqNum()
          Needed to ensure FIFO ordering within a single priority
 void setSeqNum(long num)
          To be set by the queue
 

Method Detail

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