org.apache.ignite.maintenance

## Interface MaintenanceAction<T>

-     public interface MaintenanceAction<T>

  Maintenance action interface enables user to execute operations related to a particular `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)`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### execute

          T execute()

      Executes operations of current maintenance action and returns results.

    - #### name

          @NotNull
          @NotNull String name()

      Mandatory human-readable name of maintenance action. All actions of single `MaintenanceWorkflowCallback` should have unique names.

    - #### description

          @Nullable
          @Nullable String description()

      Optional user-readable description of maintenance action.

2021 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.10.0
Release Date | : March 10 2021