|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Attribute controller for queue implementation with a push input. It defines an overflow policy attribute with three default values (specific implementations can define other).
Field Summary | |
static String |
BLOCK_OVERFLOW_POLICY
An overflow policy that block incomming messages until a message is delivered on the output. |
static String |
DROP_OVERFLOW_POLICY
An overflow policy that drops the new message and does not modify the queue. |
static String |
EXCEPTION_OVERFLOW_POLICY
An overflow policy that cause the Push server interface to
throw a BufferOverflowException |
Method Summary | |
String |
getOverflowPolicy()
Returns the overflow policy. |
void |
setOverflowPolicy(String policy)
Sets the overflow policy. |
Methods inherited from interface org.objectweb.dream.queue.QueueAttributeController |
getCurrentSize, getMaxCapacity, setMaxCapacity |
Field Detail |
public static final String BLOCK_OVERFLOW_POLICY
InterruptedPushException
may be thrown.
public static final String DROP_OVERFLOW_POLICY
public static final String EXCEPTION_OVERFLOW_POLICY
Push
server interface to
throw a BufferOverflowException
Method Detail |
public String getOverflowPolicy()
public void setOverflowPolicy(String policy)
policy
- the overflow policy.
IllegalArgumentException
- if the given string is not reconized as a
valid policy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |