public interface MaintenanceAction<T>
MaintenanceTask
.
These operations may resolve maintenance situation (e.g. remove corrupted data files), get information
about other ongoing maintenance action (e.g. if some action requires a lot of time and user wants to know
current progress of the action) or cancel other ongoing action.
List of maintenance actions available for each task is defined by MaintenanceWorkflowCallback
.
MaintenanceRegistry
provides an access to maintenance actions for a MaintenanceTask
with
call MaintenanceRegistry.actionsForMaintenanceTask(String)
Modifier and Type | Method and Description |
---|---|
@Nullable String |
description()
Optional user-readable description of maintenance action.
|
T |
execute()
Executes operations of current maintenance action and returns results.
|
@NotNull String |
name()
Mandatory human-readable name of maintenance action.
|
T execute()
@NotNull @NotNull String name()
MaintenanceWorkflowCallback
should have unique names.@Nullable @Nullable String description()
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024