protected abstract static class GridCacheAdapter.TopologyVersionAwareJob extends ComputeJobAdapter
| Modifier and Type | Field and Description |
|---|---|
protected String |
cacheName
Cache name.
|
protected Ignite |
ignite
Injected grid instance.
|
protected ComputeJobContext |
jobCtx
Injected job context.
|
protected AffinityTopologyVersion |
topVer
Affinity topology version.
|
| Constructor and Description |
|---|
GridCacheAdapter.TopologyVersionAwareJob(String cacheName,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute()
Executes this job.
|
protected abstract Object |
localExecute(IgniteInternalCache cache) |
argument, call, cancel, isCancelled, setArguments@JobContextResource protected ComputeJobContext jobCtx
@IgniteInstanceResource protected Ignite ignite
protected final AffinityTopologyVersion topVer
protected final String cacheName
public GridCacheAdapter.TopologyVersionAwareJob(String cacheName, AffinityTopologyVersion topVer)
cacheName - Cache name.topVer - Affinity topology version.@Nullable public final 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 Object localExecute(@Nullable IgniteInternalCache cache)
cache - Cache.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016