Package org.apache.logging.log4j.status
Class StatusLogger.BoundedQueue<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.concurrent.ConcurrentLinkedQueue<E>
org.apache.logging.log4j.status.StatusLogger.BoundedQueue<E>
- Type Parameters:
E- Object type to be stored in the queue.
- All Implemented Interfaces:
Serializable,Iterable<E>,Collection<E>,Queue<E>
- Enclosing class:
StatusLogger
Queues for status events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.ConcurrentLinkedQueue
addAll, clear, contains, forEach, isEmpty, iterator, offer, peek, poll, remove, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray, toStringMethods inherited from class java.util.AbstractQueue
element, removeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
containsAll, equals, hashCode, parallelStream, stream, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
size
private final int size
-
-
Constructor Details
-
BoundedQueue
BoundedQueue(int size)
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<E>- Specified by:
addin interfaceQueue<E>- Overrides:
addin classConcurrentLinkedQueue<E>
-