ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: how to create instance of CacheManager of ignite
Date Mon, 08 Feb 2016 07:16:13 GMT
Hi Ravi,

According to JCache API, the CacheManager should be acquired via
CachingProvider.getCacheManager(...) method. Here is the quote from its

> Requests a CacheManager configured according to the implementation
> specific URI that uses the provided ClassLoader for loading underlying
> classes.
> Multiple calls to this method with the same URI and ClassLoader must
> return the same CacheManager instance, except if a previously returned
> CacheManager has been closed.

Ignite implementation of caching provider works exactly like described - for
the same parameters you will get the same instance of cache manager.

Implementation specific URI should point to Ignite configuration XML file
(or can be null to use default settings).

Makes sense?


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/how-to-create-instance-of-CacheManager-of-ignite-tp2876p2878.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message