@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface GridComputeJobBeforeFailover
GridFailoverSpi. In this method job can re-create necessary state that was
cleared, for example, in method with GridComputeJobAfterSend annotation.
This annotation can be applied to methods of GridComputeJob instances only. It is
invoked on the caller node after remote execution has failed and before the
job gets failed over to another node.
Example:
public class MyGridJob implements GridComputeJob {
...
@GridComputeJobBeforeFailover
public void onJobBeforeFailover() {
...
}
...
}
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014