1 of 1 people found this helpful
You can use the following call to retrieve the cache store:
org.infinispan.loaders.CacheStore s = cache.getAdvancedCache().getComponentRegistry().getComponent(CacheLoaderManager.class).getCacheStore();
after that, you can call methods like s.containsKey(Object key), s.store(InternalCacheEntry entry), s.load(Object key)
InternalCacheEntry is an interface and has a few implementations, e.g. ImmortalCacheEntry.
Thanks Martin for pointing me out how to recover the cache loader ; really not obvious at the first start !
I guess I'll fill an enhancement request to ease manipulation of passivated entries.