Interface Resetter<T>

  • Type Parameters:
    T - pooled object type
    All Known Implementing Classes:
    Resetter.ForRecyclable

    public interface Resetter<T>
    Defines reset strategy to use for a given pooled object type when they are returned to pool
    • Method Detail

      • recycle

        void recycle​(T object)
        Recycles a pooled object state
        Parameters:
        object - object to recycle