Monitor.logThrowable(new Throwable("boot trace"));
uf = null;
CacheFactory cf = (CacheFactory)
Monitor.startSystemModule(
org.apache.derby.iapi.reference.Module.CacheFactory);
// Initialize the page cache
int pageCacheSize = getIntParameter(
RawStoreFactory.PAGE_CACHE_SIZE_PARAMETER,
null,
RawStoreFactory.PAGE_CACHE_SIZE_DEFAULT,
RawStoreFactory.PAGE_CACHE_SIZE_MINIMUM,
RawStoreFactory.PAGE_CACHE_SIZE_MAXIMUM);
pageCache =
cf.newCacheManager(
this, "PageCache", pageCacheSize / 2, pageCacheSize);
// Initialize the container cache
int fileCacheSize = getIntParameter(
RawStoreFactory.CONTAINER_CACHE_SIZE_PARAMETER,
null,
RawStoreFactory.CONTAINER_CACHE_SIZE_DEFAULT,
RawStoreFactory.CONTAINER_CACHE_SIZE_MINIMUM,
RawStoreFactory.CONTAINER_CACHE_SIZE_MAXIMUM);
containerCache =
cf.newCacheManager(
this, "ContainerCache", fileCacheSize / 2, fileCacheSize);
if (create)
{
String noLog =