Class CacheClientBinaryPutGetExample
- java.lang.Object
-
- org.apache.ignite.examples.binary.datagrid.CacheClientBinaryPutGetExample
-
public class CacheClientBinaryPutGetExample extends java.lang.ObjectThis 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
ExampleNodeStartupin another JVM which will start a node withexamples/config/example-ignite.xmlconfiguration.
-
-
Constructor Summary
Constructors Constructor Description CacheClientBinaryPutGetExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-