public abstract static class GridCacheAdapter.TopologyVersionAwareJob extends ComputeJobAdapter
| Modifier and Type | Field and Description |
|---|---|
protected String |
cacheName
Cache name.
|
protected IgniteEx |
ignite
Injected grid instance.
|
protected ComputeJobContext |
jobCtx
Injected job context.
|
protected AffinityTopologyVersion |
topVer
Affinity topology version.
|
| Constructor and Description |
|---|
TopologyVersionAwareJob(String cacheName,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Object |
execute()
Executes this job.
|
protected abstract @Nullable Object |
localExecute(@Nullable IgniteInternalCache cache) |
argument, arguments, call, cancel, isCancelled, setArguments@JobContextResource protected ComputeJobContext jobCtx
@IgniteInstanceResource protected IgniteEx ignite
protected final AffinityTopologyVersion topVer
protected final String cacheName
public TopologyVersionAwareJob(String cacheName, AffinityTopologyVersion topVer)
cacheName - Cache name.topVer - Affinity topology version.@Nullable public final @Nullable Object execute()
null). This result will be returned
in ComputeJobResult.getData() method passed into
ComputeTask.result(ComputeJobResult, List) task method on caller node.@Nullable protected abstract @Nullable Object localExecute(@Nullable @Nullable IgniteInternalCache cache)
cache - Cache.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021