Class PersistentStoreExample
- java.lang.Object
-
- org.apache.ignite.examples.persistentstore.PersistentStoreExample
-
public class PersistentStoreExample extends java.lang.ObjectThis example demonstrates the usage of Apache Ignite Persistent Store.To execute this example you should start an instance of
PersistentStoreExampleNodeStartupclass which will start up an Apache Ignite remote server node with a proper configuration.When
UPDATEparameter of this example is set totrue, the example will populate the cache with some data and will then run a sample SQL query to fetch some results.When
UPDATEparameter of this example is set tofalse, the example will run the SQL query against the cache without the initial data pre-loading from the store.You can populate the cache first with
UPDATEset totrue, then restart the nodes and run the example withUPDATEset tofalseto verify that Apache Ignite can work with the data that is in the persistence only.
-
-
Constructor Summary
Constructors Constructor Description PersistentStoreExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)
-