Ejemplo n.º 1
0
 public CacheConfigImpl(TCProperties cacheManagerProperties) {
   leastCount = cacheManagerProperties.getInt("leastCount");
   percentageToEvict = cacheManagerProperties.getInt("percentageToEvict");
   sleepInterval = cacheManagerProperties.getLong("sleepInterval");
   criticalThreshold = cacheManagerProperties.getInt("criticalThreshold");
   threshold = cacheManagerProperties.getInt("threshold");
   monitorOldGenOnly = cacheManagerProperties.getBoolean("monitorOldGenOnly");
   loggingEnabled = cacheManagerProperties.getBoolean("logging.enabled");
   criticalObjectThreshold = cacheManagerProperties.getInt("criticalObjectThreshold");
 }