I am trying to inspect the caches that are contained within a given grid.

Using a specific instance of Ignite, myIgnite, I created an instance of 
IgniteCache - myIgniteCache - call the cache "FOO".
Later, I interrogated that same Ignite instance, myIgnite, by invoking  
"myIgnite.configuration().getCacheConfiguration()" in an attempt to get an 
array of all of the cache configurations for all of the caches within that 
grid.   "FOO" was not there, just a system cache.  Why? - was there something 
else that I needed to do in order to make that cache visible there?  What 
should I do instead if I'm not supposed to do this?


Alternatively, I was able to do the big java ugly ....    CacheConfiguration 
myFoo = (CacheConfiguration) myIgnite.getConfiguration(CacheConfiguratin.class) 
.

That seems all kinds of wrong - what is the right/best way to get the 
CacheConfiguration of my FOO cache?

TIA,

SCott

Reply via email to