Hi,
1)  loadCache() is implementation dependent, by default it just adds new
records to the cache .
  see example:
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheLoadOnlyStoreExample.java


  Take a look at jdbc example as well:
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/store/jdbc/CacheJdbcStoreExample.java

  more info:
https://apacheignite.readme.io/docs/data-loading#ignitecacheloadcache

2) You do not need to clear the cache in order to call loadCache

3)  This is implementation dependent.   By default it does not overwrite
existing entries.

you can experiment w/the above examples by putting:                 
  cache.put(1L,new Person(1L,"A", "B") ) before the loadCache() statement to
get a better feel for its behavior.

Thanks, Alex





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to