|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestQueue
A queue of AuRequest
.
There is one queue for each desktop.
Implementation Note: Unlike only of desktop members, this class must be thread-safe.
Method Summary | |
---|---|
void |
addPerfRequestId(java.lang.String requestId)
Adds a request ID that uniquely identifies a request for performance measuarement PerformanceMeter . |
void |
addRequests(java.util.Collection requests)
Adds a list of requests to the queue. |
java.util.Collection |
clearPerfRequestIds()
Clears all request IDs that were added by addPerfRequestId(java.lang.String)
for performance measurement. |
boolean |
isEmpty()
Returns if no more request available in the queue. |
AuRequest |
nextRequest()
Returns the next request, or null if no more request. |
Method Detail |
---|
boolean isEmpty()
AuRequest nextRequest()
void addRequests(java.util.Collection requests)
AuRequest.activate()
will be called before adding
to queue. If the component is not found or does not belong to
the current execution, it will be ignored.
void addPerfRequestId(java.lang.String requestId)
PerformanceMeter
.
requestId
- the request ID (never null)java.util.Collection clearPerfRequestIds()
addPerfRequestId(java.lang.String)
for performance measurement.
It is usually called after all requests are processed
(isEmpty()
is true).
addPerfRequestId(java.lang.String)
,
or null if no request ID was added.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |