Class RebuildIndexAction
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.maintenance.RebuildIndexAction
-
- All Implemented Interfaces:
MaintenanceAction<Boolean>
public class RebuildIndexAction extends Object implements MaintenanceAction<Boolean>
Maintenance action that handles index rebuilding.
-
-
Constructor Summary
Constructors Constructor Description RebuildIndexAction(List<MaintenanceRebuildIndexTarget> indexesToRebuild, GridKernalContext ctx)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable Stringdescription()Booleanexecute()Executes operations of current maintenance action.Stringname()
-
-
-
Constructor Detail
-
RebuildIndexAction
public RebuildIndexAction(List<MaintenanceRebuildIndexTarget> indexesToRebuild, GridKernalContext ctx)
Constructor.- Parameters:
indexesToRebuild- Indexes to rebuild.ctx- Context.
-
-
Method Detail
-
execute
public Boolean execute()
Executes operations of current maintenance action.- Specified by:
executein interfaceMaintenanceAction<Boolean>- Returns:
- Result of the maintenance action.
-
name
public String name()
- Specified by:
namein interfaceMaintenanceAction<Boolean>- Returns:
- Mandatory human-readable name of maintenance action.
All actions of single
MaintenanceWorkflowCallbackshould have unique names.
-
description
@Nullable public @Nullable String description()
- Specified by:
descriptionin interfaceMaintenanceAction<Boolean>- Returns:
- Optional user-readable description of maintenance action.
-
-