Class QueueFactory


  • @Deprecated(since="2022-01-27")
    public class QueueFactory
    extends java.lang.Object
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    Factory for Queue instances.
    • Constructor Summary

      Constructors 
      Constructor Description
      QueueFactory()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      <E> java.util.concurrent.LinkedBlockingDeque<E> newLinkedBlockingDeque​(int capacity)
      Deprecated.
      Creates a new LinkedBlockingDeque with the given capacity.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • QueueFactory

        public QueueFactory()
        Deprecated.
    • Method Detail

      • newLinkedBlockingDeque

        public <E> java.util.concurrent.LinkedBlockingDeque<E> newLinkedBlockingDeque​(int capacity)
        Deprecated.
        Creates a new LinkedBlockingDeque with the given capacity. 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