Interface GracefulShutdownCoordinator.ShutdownComponent
- Enclosing class:
GracefulShutdownCoordinator
public static interface GracefulShutdownCoordinator.ShutdownComponent
Interface for components that can be gracefully shut down.
-
Method Summary
Modifier and TypeMethodDescriptionvoidFlushes pending data and write-behind caches.voidForcefully shuts down the component immediately.booleanChecks if there are in-flight requests being processed.voidshutdown()Gracefully shuts down the component.voidStops accepting new connections or requests.voidTakes a snapshot of current state.
-
Method Details
-
stopAcceptingConnections
-
flushData
-
takeSnapshot
-
shutdown
-
forcefulShutdown
-
hasInFlightRequests
-