Interface GracefulShutdownCoordinator.ShutdownPhase

All Known Implementing Classes:
GracefulShutdownCoordinator.Complete, GracefulShutdownCoordinator.DrainingConnections, GracefulShutdownCoordinator.FlushingData, GracefulShutdownCoordinator.SnapshotState, GracefulShutdownCoordinator.StoppingServices
Enclosing class:
GracefulShutdownCoordinator

Sealed interface defining the phases of graceful shutdown. Each phase is responsible for a specific aspect of the shutdown process.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a human-readable name for this phase.
  • Method Details

    • name

      String name()
      Returns a human-readable name for this phase.
      Returns:
      the phase name