(self)
Clear the connection pool and stop the monitor.

        Reconnect with open().
Clear the connection pool and stop the monitor.
Clear the connection pool and stop the monitor .
def close(self):
        """Clear the connection pool and stop the monitor.

        Reconnect with open().
        """
        if self._publish:
            self._events.put((self._listener.publish_server_closed,
                              (self._description.address, self._topology_id)))
        self._monitor.close()
        self._pool.reset()
def close ( self ) : if self . _publish : self . _events . put ( ( self . _listener . publish_server_closed , ( self . _description . address , self . _topology_id ) ) ) self . _monitor . close ( ) self . _pool . reset ( )