public abstract class DispatchValidator
extends java.lang.Object
Constructor and Description |
---|
DispatchValidator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldDrop(Dispatch dispatch) |
protected boolean |
shouldQueue(Dispatch dispatch,
boolean shouldQueue) |
protected boolean shouldDrop(Dispatch dispatch)
dispatch
- the dispatch to be considered for droppingprotected boolean shouldQueue(Dispatch dispatch, boolean shouldQueue)
dispatch
- the dispatch to be considered for queueingshouldQueue
- the recommended behavior of the library