|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Attribute controller interface for Push/Pull queue. It defines the blocking pull policy, which control the beavior when the queue is empty.
true
, the pull method block until a new message is
pushed or throw a InterruptedPullException
.
false
the pull method returns null
.
Method Summary | |
boolean |
getBlockingPull()
Returns the blocking pull policy. |
void |
setBlockingPull(boolean blockingPull)
Sets the blocking pull policy. |
Method Detail |
public boolean getBlockingPull()
public void setBlockingPull(boolean blockingPull)
blockingPull
- the blocking pull policy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |