| Constructor and Description |
|---|
DiscardOldestPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
reject(E e,
Queue<E> queue)
Method that may be invoked by a Queue when Queue has remained memory
return true.
|
public void reject(E e, Queue<E> queue)
RejectorIn the absence of other alternatives, the method may throw an unchecked
RejectException, which will be propagated to the caller.
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.