org.apache.ignite.resources

## Annotation Type TaskContinuousMapperResource

    @Documented
     @Retention(value=RUNTIME)
     @Target(value={METHOD,FIELD})
    public @interface TaskContinuousMapperResource

Annotates a field or a setter method for injection of `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;
         }
         ...
     }

2018 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Database and Caching Platform | : ver. 2.7.5
Release Date | : June 4 2019