Class ServicesExample
- java.lang.Object
-
- org.apache.ignite.examples.servicegrid.ServicesExample
-
public class ServicesExample extends java.lang.ObjectExample that demonstrates how to deploy distributed services in Ignite. Distributed services are especially useful when deploying singletons on the ignite, be that cluster-singleton, or per-node-singleton, etc...To start remote nodes, you must run
ExampleNodeStartupin another JVM which will start node withexamples/config/example-ignite.xmlconfiguration.NOTE:
Startingignite.shdirectly will not work, as distributed services cannot be peer-deployed and classes must be on the classpath for every node.
-
-
Constructor Summary
Constructors Constructor Description ServicesExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes example.
-