|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Request |
blockingRemoveOldest()
Blocks the calling thread until there is a request available Returns immediately if there is already one. |
Request |
blockingRemoveOldest(long timeout)
Blocks the calling thread until there is a request available but try to limit the time the thread is blocked to timeout. |
Request |
blockingRemoveOldest(RequestFilter requestFilter)
Blocks the calling thread until there is a request that can be accepted be the given RequestFilter. |
Request |
blockingRemoveOldest(java.lang.String methodName)
Blocks the calling thread until there is a request of name methodName Returns immediately if there is already one. |
Request |
blockingRemoveYoungest()
Blocks the calling thread until there is a request available Returns immediately if there is already one. |
Request |
blockingRemoveYoungest(long timeout)
Blocks the calling thread until there is a request available but try to limit the time the thread is blocked to timeout. |
Request |
blockingRemoveYoungest(RequestFilter requestFilter)
Blocks the calling thread until there is a request that can be accepted be the given RequestFilter. |
Request |
blockingRemoveYoungest(java.lang.String methodName)
Blocks the calling thread until there is a request of name methodName Returns immediately if there is already one. |
void |
destroy()
Destroys this BlockingQueue by removing all its content, unblocking all thread waiting for a request and making sure that no thread will block again. |
boolean |
isDestroyed()
Returns if this BlockingQueue is destroyed |
void |
waitForRequest()
Blocks the calling thread until there is a request available. |
Methods inherited from interface org.objectweb.proactive.core.body.request.RequestQueue |
add, addRequestQueueEventListener, addToFront, clear, getOldest, getOldest, getOldest, getYoungest, getYoungest, getYoungest, hasRequest, isEmpty, iterator, processRequests, removeOldest, removeOldest, removeOldest, removeRequestQueueEventListener, removeYoungest, removeYoungest, removeYoungest, size |
Method Detail |
public void destroy()
public boolean isDestroyed()
public Request blockingRemoveOldest(RequestFilter requestFilter)
requestFilter
- the request filter that select the request to be returned
public Request blockingRemoveOldest(java.lang.String methodName)
methodName
- the name of the method to wait for
public Request blockingRemoveOldest()
public Request blockingRemoveOldest(long timeout)
public Request blockingRemoveYoungest(RequestFilter requestFilter)
requestFilter
- the request filter that select the request to be returned
public Request blockingRemoveYoungest(java.lang.String methodName)
methodName
- the name of the method to wait for
public Request blockingRemoveYoungest()
public Request blockingRemoveYoungest(long timeout)
public void waitForRequest()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |