public interface BoundedFifoQueue<T> extends FifoQueue<T>
This interface is used to define a queue with First In, First Out semantics that has a maximum input size. The base interface class defines the methods for preforming the first in, first out queue algorithm. This interface is used to mark an implementation as having a maximum size in the number of elements that can be added to the queue.
Once the maximum size is reached it is up to the implementation to determine if it should block the adding thread, or generate an exception.
int maxSize()
boolean isFull()
Copyright © 2015. All Rights Reserved.