E
- the type of elements held in the target queuepublic interface QueueingStrategy<E>
Modifier and Type | Method and Description |
---|---|
void |
onAfterAdd()
Perform this action after adding a value to the queue.
|
void |
onAfterRemove(E value)
Perform this action before removing the given value from the queue.
|
void |
onBeforeAdd(E value)
Perform this action before adding the given value to the queue.
|
void |
onBeforeRemove()
Perform this action before removing a value from the queue.
|
void onBeforeAdd(E value)
value
- void onAfterAdd()
void onBeforeRemove()
void onAfterRemove(E value)
value
-