Class CacheContinuousQueryWithTransformerExample
- java.lang.Object
-
- org.apache.ignite.examples.datagrid.CacheContinuousQueryWithTransformerExample
-
public class CacheContinuousQueryWithTransformerExample extends java.lang.ObjectThis example demonstrates how to use continuous queries together with the transformer APIs.This API can be used to get a notification about cache data changes. User should provide a custom transformer that will transform change event on a remote node. Result of the transformation will be sent over to a local node over the network. That should lead to better network usage and increase performance in case user select only required fields from a complex cache object.
Remote nodes should always be started with special configuration file which enables P2P class loading:
'ignite.{sh|bat} examples/config/example-ignite.xml'.Alternatively you can run
ExampleNodeStartupin another JVM which will start node withexamples/config/example-ignite.xmlconfiguration.
-
-
Constructor Summary
Constructors Constructor Description CacheContinuousQueryWithTransformerExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-