Interface Recycler<T>

All Known Implementing Classes:
BytesRefRecycler, ConcurrentDequeRecycler, DequeRecycler, NoneRecycler

public interface Recycler<T>
A recycled object, note, implementations should support calling obtain and then recycle on different threads.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static interface 
     
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    int
     
  • Method Details

    • obtain

      Recycler.V<T> obtain()
    • pageSize

      int pageSize()
      Returns:
      the page size of the recycled object if it is array backed.