Interface Connection


  • public interface Connection
    • Field Detail

      • CLOSED_EXCEPTION

        static final java.io.IOException CLOSED_EXCEPTION
      • SELF_CLOSED_EXCEPTION

        static final java.io.IOException SELF_CLOSED_EXCEPTION
    • Method Detail

      • context

        io.netty.channel.ChannelHandlerContext context()
      • onAcquire

        void onAcquire()
      • isAvailable

        boolean isAvailable()
      • inFlight

        int inFlight()
      • close

        void close()
        This is an external request to close the connection
      • setClosed

        void setClosed()
        Invoked by the pool when the connection got closed.
      • isOpen

        boolean isOpen()
      • isClosed

        boolean isClosed()
      • host

        java.lang.String host()