Am 15.04.11 16:59, schrieb Manik Surtani:
On 13 Apr 2011, at 19:26, Mircea Markus wrote:
> IMO the large object methods would fit better in the Cache directly, vs
AdvancedCache.
Perhaps a new interface? StreamingCache?
I do like this approach. It keeps closely
related methods in one place
and might help to mitigate uncontrolled growth of the Cache interface.
Cheers,
Olaf
> The way I see it AdvancedCache exposes to the power user internal
ISPN stuff - stuff that's not generally needed by every day user. E.g. the interceptor
chain, the rpc manager etc.
> Everything that is plain API should be on the Cache itself, including lock() and
withFlags() methods.
Not really - I'd rather leave these as they are since they are considered advanced
usage methods which require understanding of how Infinispan works internally.
--
Manik Surtani
manik(a)jboss.org
twitter.com/maniksurtani
Lead, Infinispan
http://www.infinispan.org
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev