GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.collision.jobstealing
Annotation Type GridJobStealingDisabled


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Apache20LicenseCompatible
public @interface GridJobStealingDisabled

This annotation disables job stealing if corresponding feature is configured. Add this annotation to the job class to disable stealing this kind of jobs from nodes where they were mapped to.

Here is an example of how this annotation can be attached to a job class:

 @GridJobStealingDisabled
 public class MyJob extends GridJobAdapter<Object> {
     public Serializable execute() throws GridException {
         // Job logic goes here.
         ...
     }
 } 
 




See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 


GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.