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:
java.io.Serializable
,java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Queue<E>
- Enclosing class:
- StatusLogger
private class StatusLogger.BoundedQueue<E> extends java.util.concurrent.ConcurrentLinkedQueue<E>
Queues for status events.
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
private int
size
-
Constructor Summary
Constructors Constructor Description BoundedQueue(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(E object)
-
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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
size
private final int size
-
-