[jbosscache-dev] Re: Questions and suggestions regarding JBossCache 2.0

Manik Surtani manik at jboss.org
Sat Sep 9 08:25:50 EDT 2006


http://jira.jboss.com/jira/browse/JBCACHE-762

--
Manik Surtani

Lead, JBoss Cache
JBoss, a division of Red Hat

Email: manik at jboss.org
Telephone: +44 7786 702 706
MSN: manik at surtani.org
Yahoo/AIM/Skype: maniksurtani


On 9 Sep 2006, at 13:15, Bela Ban wrote:

>
>
> Manik Surtani wrote:
>> On 9 Sep 2006, at 12:46, Bela Ban wrote:
>>
>>> Why isn't there a CacheFactory.createCache() (using the default  
>>> configuration)
>>> I think it would be useful to have a static method in  
>>> Configuration which returns the default config, so we could do:  
>>> Cache c=new DefaultCacheFactory().createCache 
>>> (Configuration.getDefault())
>>> Configuration should have a copy() or clone() method, so we can  
>>> reuse a config, and make small modifications
>>> Make Configuration serializable (ship them around ?)
>>>
>>
>>
>> All good suggestions.  +1 for all of these.
>>
>> Any suggestions on what should be in the default configuration,  
>> apart from LOCAL/PESS. LOCKING/REPEATABLE READ and no cacheloaders/ 
>> eviction policies?
>
> It should be the same as the one we got when calling new TreeCache 
> (). If we change one of  those, we probably need to document this  
> on the wiki
>
> -- 
> Bela Ban
> Lead JGroups / Manager JBoss Clustering Group
> JBoss - a division of Red Hat
>




More information about the jbosscache-dev mailing list