Class CacheEventsExample
- java.lang.Object
-
- org.apache.ignite.examples.datagrid.CacheEventsExample
-
public class CacheEventsExample extends java.lang.ObjectThis examples demonstrates events API. Note that ignite events are disabled by default and must be specifically enabled, just like inexamples/config/example-ignite.xmlfile.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 CacheEventsExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws IgniteException, java.lang.InterruptedExceptionExecutes example.- Parameters:
args- Command line arguments, none required.- Throws:
IgniteException- If example execution failed.java.lang.InterruptedException
-
-