Interface IPoolFactory<T>

  • All Known Implementing Classes:
    OldObjectFactory

    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
        Parameters:
        identifier - the identifier that is used to look up the object
        Returns:
        the replacement object that will be used instead