public interface Rejector<E>
void reject(E e, Queue<E> queue)
In the absence of other alternatives, the method may throw an unchecked
RejectException, which will be propagated to the caller.
e - the element requested to be addedqueue - the queue attempting to add this elementRejectException - if there is no more memoryCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.