All Superinterfaces:
Serializable

public interface RedundantTask extends Serializable
A runnable task that will be executed both by the local node and the remote backup cluster node.
  • Method Summary

    Modifier and Type
    Method
    Description
    Execute the task and if appropriate, return the result.
  • Method Details

    • execute

      Serializable execute(GatewayContext context) throws Exception
      Execute the task and if appropriate, return the result. If an exception is thrown, the task will not be replicated to the backup node.
      Throws:
      Exception