[jbosscache-dev] JBCACHE-1561 - how to get children or children names directly?

Galder Zamarreno galder at jboss.org
Mon Dec 28 05:23:27 EST 2009


Hi,

Re: https://jira.jboss.org/jira/browse/JBCACHE-1561

Is there a way in JBC 3.x to get the children or children names without
accessing the cache loader? peek() does not help here and
Option.suppressPersistence only works at the CacheStoreInterceptor level.

Clearly, implementing getChildrenDirect() is not the right thing to do
since this is old PL/OL API. I'd lean towards either extending
Option.suppressPersistence so that it also covers CacheLoaderInterceptor
so that it doesn't get stuff from CL if that option is set to true.

Thoughts?

-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache


More information about the jbosscache-dev mailing list