Method Detail

cancel

Cancels this service. Ignite will automatically call this method whenever any of the
cancel methods on IgniteServices API are called.

Note that Ignite cannot guarantee that the service exits from Service.execute(ServiceContext)
method whenever cancel(ServiceContext) method is called. It is up to the user to
make sure that the service code properly reacts to cancellations.

init

Pre-initializes service before execution. This method is guaranteed to be called before
service deployment is complete (this guarantees that this method will be called
before method Service.execute(ServiceContext) is called).

execute

Starts execution of this service. This method is automatically invoked whenever an instance of the service
is deployed on a grid node. Note that service is considered deployed even after it exits the execute
method and can be cancelled (or undeployed) only by calling any of the cancel methods on
IgniteServices API. Also note that service is not required to exit from execute method until
Service.cancel(ServiceContext) method was called.