Interface IPoolFactory<T>

  • All Known Implementing Classes:

    public interface IPoolFactory<T>
    Interface for factories that can drop in a custom object instead of the value in a thread pool.
    • Method Detail

      • createObject

        T createObject​(long identifier,
                       Object o)
        Creates a replacement object for a value in a pool
        identifier - the identifier that is used to look up the object
        the replacement object that will be used instead