[Building Sakai] specifying a cache size

Steve Swinsburg steve.swinsburg at gmail.com
Sun Jun 13 16:04:28 PDT 2010


Hi all,

Aaron and I were chatting this eve about caching in Sakai and realised that the ability to allow a user to set the cache size and time when getting a new cache, seem to have been removed/adjusted?

So a call to MemoryService.newCache(String cacheName) creates a new cache with the default settings from ehcache.xml, and it's only 5 minutes long (300 seconds).

Does anyone know if its possible to override this somehow? 

thanks,
Steve


More information about the sakai-dev mailing list