Class ComputeFailoverExample


  • public class ComputeFailoverExample
    extends java.lang.Object
    Demonstrates the usage of checkpoints in Ignite.

    The example tries to compute phrase length. In order to mitigate possible node failures, intermediate result is saved as as checkpoint after each job step.

    Remote nodes must be started using ComputeFailoverNodeStartup.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Executes example.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComputeFailoverExample

        public ComputeFailoverExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws IgniteException
        Executes example.
        Parameters:
        args - Command line arguments, none required.
        Throws:
        IgniteException - If example execution failed.