lfrancke commented on a change in pull request #33: TRAINING-18: Apache Ignite: JDK requirements, put & get operations URL: https://github.com/apache/incubator-training/pull/33#discussion_r307734740
########## File path: content/Ignite/src/main/asciidoc/index.adoc ########## @@ -99,3 +125,192 @@ Both server and client nodes will log `Topology snapshot [ver=2, locNode=b5fc314f, servers=1, clients=1, state=ACTIVE, CPUs=12, offheap=3.2GB, heap=7.1GB]` This means nodes detected each other + +== Save data into Grid +Ignite supports JCache JSR 107 API, +`IgniteCache<K,V> extends javax.cache.Cache<K,V>` + +[source,java] +---- +include::{sourcedir}/example/PutGetExample.java[tags=contains,indent=0] +---- + +== Dynamic Cache +---- +ignite.getOrCreateCache(CacheConfiguration cfg) +---- + +Creates an instance of the cache on the fly + +---- +ignite.createCache(CacheConfiguration cfg) +---- + +Creates cache instance + +Ignite will create and deploy the cache across all server cluster members + +Cache will be deployed to any new joined node + +Limitation - not possible to create new cache in transaction + +== Static cache Review comment: Reading this I don't understand the difference between dynamic & static cache. Again (for all content related comments) this can be fine if it's explained verbally, slides don't need to speak for themselves ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services