@Documented @Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface TaskContinuousMapperResource
ComputeTaskContinuousMapper resource.
Task continuous mapper can be injected into ComputeTask class
instance.
Here is how injection would typically happen:
public class MyGridJob implements ComputeJob {
...
@TaskContinuousMapperResource
private ComputeTaskContinuousMapper mapper;
...
}
or
public class MyGridJob implements ComputeJob {
...
private ComputeTaskContinuousMapper mapper;
...
@TaskContinuousMapperResource
public void setMapper(ComputeTaskContinuousMapper mapper) {
this.mapper = mapper;
}
...
}
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016