org.apache.ignite.compute

## Annotation Type ComputeJobAfterSend

    @Documented
    @Retention(value=RUNTIME)
    @Target(value=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() {
              ...
         }
         ...
     }

2017 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.9.0
Release Date | : March 2 2017