Interface NIOConnFactory<T,​C>

  • Type Parameters:
    T - the route type that represents the opposite endpoint of a pooled connection.
    C - the connection type.
    All Known Implementing Classes:
    BasicNIOConnFactory

    public interface NIOConnFactory<T,​C>
    Factory for poolable non-blocking connections.
    Since:
    4.2
    • Method Detail

      • create

        C create​(T route,
                 IOSession session)
          throws java.io.IOException
        Throws:
        java.io.IOException