Interface Pool<T>

All Known Implementing Classes:
PoolBase, PoolSync

public interface Pool<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Get an item from the pool - return null if the pool is empty
    boolean
     
    void
    put(T item)
     
  • Method Details

    • put

      void put(T item)
    • get

      T get()
      Get an item from the pool - return null if the pool is empty
    • isEmpty

      boolean isEmpty()