if (this.getLogger().isDebugEnabled()) {
this.getLogger().debug("Configure StoreJanitorImpl");
}
this.setJVM(Runtime.getRuntime());
Parameters params = Parameters.fromConfiguration(conf);
this.setFreememory(params.getParameterAsInteger("freememory", 1000000));
this.setHeapsize(params.getParameterAsInteger("heapsize", 60000000));
this.setCleanupthreadinterval(params.getParameterAsInteger("cleanupthreadinterval", 10));
this.setPriority(params.getParameterAsInteger("threadpriority",
Thread.currentThread().getPriority()));
this.m_percent = params.getParameterAsInteger("percent_to_free", 10);
if ((this.getFreememory() < 1)) {
throw new ConfigurationException("StoreJanitorImpl freememory parameter has to be greater then 1");
}
if ((this.getHeapsize() < 1)) {