public interface MaintenanceWorkflowCallback
MaintenanceRegistry
and components that may require maintenance.
If a component may cause node to enter maintenance mode, it should register this callback
in MaintenanceRegistry using method MaintenanceRegistry.registerWorkflowCallback(String, MaintenanceWorkflowCallback)
MaintenanceRegistry during its workflow will collect necessary information about maintenance for components
without knowing implementation details of the components.| Modifier and Type | Method and Description |
|---|---|
@NotNull List<MaintenanceAction<?>> |
allActions()
Supplies list of
MaintenanceActions that user can call to fix maintenance situation for the component or
get information about ongoing actions. |
@Nullable MaintenanceAction<?> |
automaticAction()
Component can provide optional
MaintenanceAction that will be executed automatically
by MaintenanceRegistry when node enters maintenance mode. |
boolean |
shouldProceedWithMaintenance()
Called by
MaintenanceRegistry and enables it to check if maintenance is still needed
for component that provided this callback. |
boolean shouldProceedWithMaintenance()
MaintenanceRegistry and enables it to check if maintenance is still needed
for component that provided this callback.
User may fix maintenance situation by hand when node was down thus before going to maintenance mode
we should be able to check if it is still necessary.True if maintenance is still needed for the component.@NotNull @NotNull List<MaintenanceAction<?>> allActions()
MaintenanceActions that user can call to fix maintenance situation for the component or
get information about ongoing actions. Should not be null or empty.List of MaintenanceAction.@Nullable @Nullable MaintenanceAction<?> automaticAction()
MaintenanceAction that will be executed automatically
by MaintenanceRegistry when node enters maintenance mode.
If no automatic actions are provided MaintenanceRegistry will wait for user
to trigger MaintenanceAction with logic to fix the maintenance situation.MaintenanceAction for automatic execution or null if maintenance situation
should not be fixed automatically.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025