Hi Vinay,

getCacheManager() will return the instance of JCache manager [1] if you used
one to create a cache. If you created it using Ignite API, it will be null.

To get an Ignite instance from IgniteCache do this: 'Ignite ignite =
cache.unwrap(Ignite.class)'

[1]
https://ignite.apache.org/releases/1.5.0.final/javadoc/org/apache/ignite/cache/CacheManager.html

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/cache-getCacheManager-returns-null-tp2676p2682.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to