[infinispan-dev] TimeService (ISPN-3069): CacheLoader API break

Manik Surtani msurtani at redhat.com
Mon May 13 13:32:41 EDT 2013


On 13 May 2013, at 16:25, Mircea Markus <mmarkus at redhat.com> wrote:

> 
> On 13 May 2013, at 15:05, Manik Surtani wrote:
> 
>>> 100% agree, most users will have to interact with AdvancedCache at some point - if only because of lock() and withFlags().
>> 
>> I've seen quite a bit of end-user code that doesn't touch AdvancedCache.
> I'm on Dan's side here, I think it's pretty popular through the users and should be considered as public API. A note on the same lines, we also recommend all our users to use Flag.IGNORE_RETURN_VALUE, which again goes trough AdvancedCache.

So you're saying getTimeService() should be in EmbeddedCacheManager?  That's Dan's argument... I really don't think this should be accessible by end-user applications.

--
Manik Surtani
manik at jboss.org
twitter.com/maniksurtani

Platform Architect, JBoss Data Grid
http://red.ht/data-grid




More information about the infinispan-dev mailing list