PQEntry
public static interface FIFOBandwidthLimiter.Request extends PQEntry
Modifier and Type | Method | Description |
---|---|---|
void |
abort() |
we no longer want the data requested (the connection closed)
|
void |
attach(Object obj) |
Only supported if the request is not satisfied
|
Object |
attachment() |
|
boolean |
getAborted() |
was this request aborted?
|
FIFOBandwidthLimiter.CompleteListener |
getCompleteListener() |
|
int |
getPendingRequested() |
how many bytes were requested and haven't yet been allocated?
|
long |
getRequestTime() |
when was the request made?
|
int |
getTotalRequested() |
how many bytes were requested?
|
void |
setCompleteListener(FIFOBandwidthLimiter.CompleteListener lsnr) |
|
void |
waitForNextAllocation() |
Block until we are allocated some more bytes.
|
getPriority, getSeqNum, setSeqNum
long getRequestTime()
int getTotalRequested()
int getPendingRequested()
void waitForNextAllocation()
void abort()
boolean getAborted()
void setCompleteListener(FIFOBandwidthLimiter.CompleteListener lsnr)
void attach(Object obj)
Object attachment()
FIFOBandwidthLimiter.CompleteListener getCompleteListener()