I am trying to do the following:

CacheManager cm = Caching.getCachingProvider().getCacheManager();
Cache cache = cm.getCache("my-cache");

At this point, cm points to an instance of
org.apache.ignite.cache.CacheManager and cache points to null.

I figured that Ignite would simply create the cache dynamically, but it
appears that CacheManager#getCache calls ignite.cache instead of
ignite.getOrCreateCache.

What is the correct way to use JCache and dynamically create a cache?

-- 

*JOSH CUMMINGS*

Principal Engineer

[image: Workfront] <https://www.workfront.com/>

*O*  801.477.1234  |  *M*  8015562751

joshcummi...@workfront.com | www.workfront.com
Address <https://www.workfront.com/contact-us/>  |  Twitter
<http://twitter.com/Workfront_Inc>  |  LinkedIn
<http://www.linkedin.com/company/48453>  |  Facebook
<http://www.facebook.com/workfront>

[image: Workfront] <https://www.workfront.com/email-promo>

Reply via email to