Interface RedundantTask
- All Superinterfaces:
Serializable
A runnable task that will be executed both by the local node and the remote backup cluster node.
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(GatewayContext context) Execute the task and if appropriate, return the result.
-
Method Details
-
execute
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
-