public static interface FIFOBandwidthLimiter.Request extends PQEntry
| Modifier and Type | Method and 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()The attached object, or null. |
boolean | getAborted()Whether this request was aborted. |
FIFOBandwidthLimiter.CompleteListener | getCompleteListener()The listener notified when the request completes. |
int | getPendingRequested()How many bytes were requested and haven't yet been allocated. |
long | getRequestTime()When the request was made. |
int | getTotalRequested()How many bytes were requested. |
void | setCompleteListener(FIFOBandwidthLimiter.CompleteListener lsnr)The listener notified when the request is complete. |
void | waitForNextAllocation()Block until we are allocated some more bytes. |
getPriority, getSeqNum, setSeqNumvoid abort()
void attach(Object obj)
Object attachment()
boolean getAborted()
FIFOBandwidthLimiter.CompleteListener getCompleteListener()
int getPendingRequested()
long getRequestTime()
int getTotalRequested()
void setCompleteListener(FIFOBandwidthLimiter.CompleteListener lsnr)
void waitForNextAllocation()