Class CacheLoadOnlyStoreExample


  • public class CacheLoadOnlyStoreExample
    extends java.lang.Object
    Example of how to load data from CSV file using CacheLoadOnlyStoreAdapter.

    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 ExampleNodeStartup in another JVM which will start node with examples/config/example-ignite.xml configuration.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Executes example.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheLoadOnlyStoreExample

        public CacheLoadOnlyStoreExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws IgniteException
        Executes example.
        Parameters:
        args - Command line arguments, none required.
        Throws:
        IgniteException - If example execution failed.