Class Connection

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Connection
    extends java.lang.Object
    implements java.lang.AutoCloseable
    The Class Connection.
    • Constructor Detail

      • Connection

        public Connection​(ConnectionPool p,
                          java.net.Socket s,
                          java.util.List<TransformerFactory> transformerFactories)
        Instantiates a new connection.
        Parameters:
        p - the p
        s - the s
    • Method Detail

      • returnConnection

        public void returnConnection()
        Return connection.
      • setunHealthyConnection

        public void setunHealthyConnection()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable