Module 
Package org.xnio

Interface Pool<T>

  • Type Parameters:
    T - the resource type
    All Known Implementing Classes:
    ByteBufferSlicePool

    public interface Pool<T>
    Deprecated.
    A generic pooled resource manager.
    • Method Detail

      • allocate

        Pooled<T> allocate()
        Deprecated.
        Allocate a resource from the pool.
        Returns:
        the resource