You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Ravi <ra...@gmail.com> on 2016/02/12 06:21:27 UTC
intialize the cache manager?
how to initialize cache manager by passing configuration ignite.xml file
path?
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/intialize-the-cache-manager-tp2972.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: intialize the cache manager?
Posted by Vladimir Ozerov <vo...@gridgain.com>.
Ravi,
You can pass custom configuration as follows:
CachingProvider cachingProvider = Caching.getCachingProvider();
URI uri = URI.create("file:///path/to/your/config.xml");
CacheManager cacheMgr = cachingProvider.getCacheManager(uri,
cachingProvider.getDefaultClassLoader());
On Fri, Feb 12, 2016 at 8:21 AM, Ravi <ra...@gmail.com> wrote:
> how to initialize cache manager by passing configuration ignite.xml file
> path?
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/intialize-the-cache-manager-tp2972.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>