Interface ShutdownCleanup.Action
- Enclosing class:
ShutdownCleanup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
One synchronous cleanup action for an ingress-exclusive application
resource. The standalone runner invokes an action at most once and never
concurrently; implementations are not required to be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionvoidperformCleanup(@NonNull ShutdownResult shutdownResult) Performs cleanup after complete core shutdown.
-
Method Details
-
performCleanup
Performs cleanup after complete core shutdown.- Parameters:
shutdownResult- exact complete core shutdown result- Throws:
Exception- if cleanup fails
-