Interface IPooledObjectManager<T>


public interface IPooledObjectManager<T>
Base interface for a pool manager. A pool uses its associated object manager to manage the lifecycle of the objects it pools while the pool itself handles only the list of available (and sometimes the list of checked out) objects.
  • Method Details

    • initialize

      void initialize(Map<String,Object> map) throws Exception
      Throws:
      Exception
    • uninitialize

      void uninitialize()
    • create

      List<T> create(int size)
    • create

      T create()
    • destroy

      void destroy(T object)
    • isExpired

      boolean isExpired(T object)