Interface ObjectPool.ObjectCreator<T>

  • Type Parameters:
    T - the type of the pooled object
    Enclosing class:
    ObjectPool<T>

    @Deprecated
    public static interface ObjectPool.ObjectCreator<T>
    Deprecated.
    For removal. Please use Recycler() instead.
    Creates a new Object which references the given ObjectPool.Handle and calls ObjectPool.Handle.recycle(Object) once it can be re-used.