Class EventsExample
- java.lang.Object
-
- org.apache.ignite.examples.events.EventsExample
-
public class EventsExample extends java.lang.ObjectDemonstrates event consume API that allows to register event listeners on remote nodes. 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 configuration:
'ignite.sh 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 EventsExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-