Class CacheLoadOnlyStoreExample
- java.lang.Object
-
- org.apache.ignite.examples.datagrid.store.CacheLoadOnlyStoreExample
-
public class CacheLoadOnlyStoreExample extends java.lang.ObjectExample of how to load data from CSV file usingCacheLoadOnlyStoreAdapter.The adapter is intended to be used in cases when you need to pre-load a cache from text or file of any other format.
Remote nodes can be started with
ExampleNodeStartupin another JVM which will start node withexamples/config/example-ignite.xmlconfiguration.
-
-
Constructor Summary
Constructors Constructor Description CacheLoadOnlyStoreExample()
-
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 IgniteExceptionExecutes example.- Parameters:
args- Command line arguments, none required.- Throws:
IgniteException- If example execution failed.
-
-