Package org.apache.ignite.compute
Annotation Type ComputeJobAfterSend
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface ComputeJobAfterSend
This annotation allows to call a method right after the job has been successfully sent for execution. It is useful to clean up the internal state of the job when it is not immediately needed.This annotation can be applied to methods of
ComputeJob
instance only. It is invoked on the caller node after the job has been sent to remote node for execution.Example:
public class MyGridJob implements ComputeJob { ... @ComputeJobAfterSend public void onJobAfterSend() { ... } ... }