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

Manik Surtani manik at jboss.org
Sat Sep 9 08:05:58 EDT 2006


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?






More information about the jbosscache-dev mailing list