Interface ConnectorLifecycle

All Known Implementing Classes:
AxonServerCommandBusConnector, AxonServerQueryBusConnector, MultiTenantAxonServerCommandBusConnector, MultiTenantAxonServerQueryBusConnector

public interface ConnectorLifecycle
Interface for managing the lifecycle of a connector.
Since:
5.3.0
Author:
Jan Galinski
  • Method Details

    • start

      void start()
      Starts the connector.
    • shutdownDispatching

      CompletableFuture<Void> shutdownDispatching()
      Shuts down the connector gracefully.
      Returns:
      a CompletableFuture that completes when the connector has been shutdown.
    • disconnect

      CompletableFuture<Void> disconnect()
      Disconnects the connector.
      Returns:
      a CompletableFuture that completes when the connector has been disconnected.