R - Type of the result of the task.public interface DurableBackgroundTask<R> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Canceling the task.
|
default DurableBackgroundTask<?> |
convertAfterRestoreIfNeeded()
Converting the current task to another after restoring from metaStorage.
|
IgniteInternalFuture<DurableBackgroundTaskResult<R>> |
executeAsync(GridKernalContext ctx)
Asynchronous task execution.
|
String |
name()
Getting the name of the task to identify it.
|
String name()
void cancel()
IgniteInternalFuture<DurableBackgroundTaskResult<R>> executeAsync(GridKernalContext ctx)
result.ctx - Kernal context.default DurableBackgroundTask<?> convertAfterRestoreIfNeeded()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023