Package ch.qos.logback.core.net
Class QueueFactory
java.lang.Object
ch.qos.logback.core.net.QueueFactory
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Factory for
Queue
instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> LinkedBlockingDeque
<E> newLinkedBlockingDeque
(int capacity) Deprecated.Creates a newLinkedBlockingDeque
with the givencapacity
.
-
Constructor Details
-
QueueFactory
public QueueFactory()Deprecated.
-
-
Method Details
-
newLinkedBlockingDeque
Deprecated.Creates a newLinkedBlockingDeque
with the givencapacity
. In case the given capacity is smaller than one it will automatically be converted to one.- Type Parameters:
E
- the type of elements held in the queue- Parameters:
capacity
- the capacity to use for the queue- Returns:
- a new instance of
ArrayBlockingQueue
-