Class ZookeeperDomainManager

    • Method Detail

      • failedToConnect

        protected void failedToConnect​(java.lang.Throwable exception)
        Description copied from class: ConnectionBasedDomainManager
        Implementations can optionally override this if they need special handling for a failure to connect.
        Overrides:
        failedToConnect in class ConnectionBasedDomainManager
        Parameters:
        exception - the exception that caused the failure the connect
      • connect

        protected void connect()
        Description copied from class: ConnectionBasedDomainManager
        Implementations must connect via this method.

        This is executed in a separate thread so timeliness is not a factor. It is possible that multiple calls to connect() block waiting for the first one to finish so implementations of this method must be written to guard against this being a problem.

        Specified by:
        connect in class ConnectionBasedDomainManager
      • disconnect

        protected void disconnect()
        Description copied from class: ConnectionBasedDomainManager
        Implementations must disconnect via this method.

        This is executed in a separate thread so timeliness is not a factor. It is possible that multiple calls to disconnect() block waiting for the first one to finish so implementations of this method must be written to guard against this being a problem.

        Specified by:
        disconnect in class ConnectionBasedDomainManager