Class ConcurrentDequeRecycler<T>

java.lang.Object
org.elasticsearch.common.recycler.DequeRecycler<T>
org.elasticsearch.common.recycler.ConcurrentDequeRecycler<T>
All Implemented Interfaces:
Recycler<T>

public class ConcurrentDequeRecycler<T> extends DequeRecycler<T>
A Recycler implementation based on a concurrent Deque. This implementation is thread-safe.
  • Field Details

  • Constructor Details

    • ConcurrentDequeRecycler

      public ConcurrentDequeRecycler(Recycler.C<T> c, int maxSize)
  • Method Details