Class RollingFileManager.EmptyQueue
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.concurrent.ArrayBlockingQueue<Runnable>
org.apache.logging.log4j.core.appender.rolling.RollingFileManager.EmptyQueue
- All Implemented Interfaces:
Serializable
,Iterable<Runnable>
,Collection<Runnable>
,BlockingQueue<Runnable>
,Queue<Runnable>
- Enclosing class:
- RollingFileManager
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.ArrayBlockingQueue
clear, contains, drainTo, drainTo, forEach, iterator, offer, peek, poll, poll, remove, removeAll, removeIf, retainAll, size, spliterator, take, toArray, toArray, toString
Methods inherited from class java.util.AbstractQueue
element, remove
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
containsAll, equals, hashCode, isEmpty, parallelStream, stream, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
EmptyQueue
EmptyQueue()
-
-
Method Details
-
remainingCapacity
public int remainingCapacity()- Specified by:
remainingCapacity
in interfaceBlockingQueue<Runnable>
- Overrides:
remainingCapacity
in classArrayBlockingQueue<Runnable>
-
add
- Specified by:
add
in interfaceBlockingQueue<Runnable>
- Specified by:
add
in interfaceCollection<Runnable>
- Specified by:
add
in interfaceQueue<Runnable>
- Overrides:
add
in classArrayBlockingQueue<Runnable>
-
put
- Specified by:
put
in interfaceBlockingQueue<Runnable>
- Overrides:
put
in classArrayBlockingQueue<Runnable>
- Throws:
InterruptedException
-
offer
public boolean offer(Runnable runnable, long timeout, TimeUnit timeUnit) throws InterruptedException - Specified by:
offer
in interfaceBlockingQueue<Runnable>
- Overrides:
offer
in classArrayBlockingQueue<Runnable>
- Throws:
InterruptedException
-
addAll
- Specified by:
addAll
in interfaceCollection<Runnable>
- Overrides:
addAll
in classAbstractQueue<Runnable>
-