接口 Client

    • 方法详细资料

      • getSession

        Session getSession()
        Get Session from pool or the new one.
        返回:
        Session
      • close

        void close()
        Close Client. Closes all Sessions it has created, and destroys the managed pool.

        Calling the method close on a Client object that is already closed is a no-op.