Class DefaultLocalArrayBlockingDelegatingQueue<T>

java.lang.Object
com.broadleafcommerce.search.index.core.queue.AbstractDelegatingQueue<T>
com.broadleafcommerce.search.index.core.queue.DefaultLocalArrayBlockingDelegatingQueue<T>
Type Parameters:
T - The type of value that this Queue will accept.
All Implemented Interfaces:
Distributable, IndexableTypeAware, ReindexQueue<T>, Iterable<T>, Collection<T>, BlockingQueue<T>, Queue<T>

public class DefaultLocalArrayBlockingDelegatingQueue<T> extends AbstractDelegatingQueue<T>
Default non-distributed implementation of AbstractDelegatingQueue, backed by an ArrayBlockingQueue.
Author:
Kelly Tisdell (ktisdell)
  • Constructor Details

    • DefaultLocalArrayBlockingDelegatingQueue

      public DefaultLocalArrayBlockingDelegatingQueue(com.broadleafcommerce.search.api.type.IndexableType type, int capacity)
  • Method Details

    • isDistributed

      public final boolean isDistributed()
      Description copied from interface: Distributable
      Indicates if this component is designed for use across JVMs.
      Returns:
      whether this component can be distributed across JVMs