Class Connection.Closer

  • Enclosing class:
    Connection

    class Connection.Closer
    extends Object
    This class synchronizes the close. Close can't be synchronized with 'this' because the connection must be accessed concurrently during its closure. So we need a second lock.
    • Constructor Detail

      • Closer

        Closer()
    • Method Detail

      • close

        void close()