Class DurableBackgroundCleanupIndexTreeTask
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.DurableBackgroundCleanupIndexTreeTask
-
- All Implemented Interfaces:
Serializable,DurableBackgroundTask
@Deprecated public class DurableBackgroundCleanupIndexTreeTask extends Object implements DurableBackgroundTask
Deprecated.Tasks that cleans up index tree.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DurableBackgroundCleanupIndexTreeTask(List<Long> rootPages, List<InlineIndexTree> trees, String cacheGrpName, String cacheName, IndexName idxName, String treeName)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcancel()Deprecated.Canceling the task.DurableBackgroundTask<?>convertAfterRestoreIfNeeded()Deprecated.Converting the current task to another after restoring from metaStorage.IgniteInternalFuture<DurableBackgroundTaskResult>executeAsync(GridKernalContext ctx)Deprecated.Asynchronous task execution.Stringname()Deprecated.Getting the name of the task to identify it.StringtoString()Deprecated.
-
-
-
Method Detail
-
name
public String name()
Deprecated.Getting the name of the task to identify it. Also used as part of a key for storage in a MetaStorage.- Specified by:
namein interfaceDurableBackgroundTask- Returns:
- Task name.
-
executeAsync
public IgniteInternalFuture<DurableBackgroundTaskResult> executeAsync(GridKernalContext ctx)
Deprecated.Asynchronous task execution. Completion of the task execution should be only with theresult.- Specified by:
executeAsyncin interfaceDurableBackgroundTask- Parameters:
ctx- Kernal context.- Returns:
- Future of the tasks.
-
cancel
public void cancel()
Deprecated.Canceling the task.- Specified by:
cancelin interfaceDurableBackgroundTask
-
convertAfterRestoreIfNeeded
public DurableBackgroundTask<?> convertAfterRestoreIfNeeded()
Deprecated.Converting the current task to another after restoring from metaStorage.- Specified by:
convertAfterRestoreIfNeededin interfaceDurableBackgroundTask- Returns:
- Converted task.
-
-