Class ComputeClientBinaryTaskExecutionExample


  • public class ComputeClientBinaryTaskExecutionExample
    extends java.lang.Object
    This example demonstrates use of binary objects with task execution. Specifically it shows that binary objects are simple Java POJOs and do not require any special treatment.

    The example executes map-reduce task that accepts collection of binary objects as an argument. Since these objects are never deserialized on remote nodes, classes are not required on classpath of these nodes.

    Remote nodes should always be started with the following command: 'ignite.{sh|bat} examples/config/example-ignite.xml'.

    Alternatively you can run ExampleNodeStartup in another JVM which will start a node with examples/config/example-ignite.xml configuration.

    • 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

      • ComputeClientBinaryTaskExecutionExample

        public ComputeClientBinaryTaskExecutionExample()
    • Method Detail

      • main

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