Class CacheClientBinaryPutGetExample


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

    The example executes several put-get operations on Ignite cache with binary values. Note that it demonstrates how binary object can be retrieved in fully-deserialized form or in binary object format using special cache projection.

    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

      • CacheClientBinaryPutGetExample

        public CacheClientBinaryPutGetExample()
    • Method Detail

      • main

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