public WhirlycottCacheImpl() {
		FileInputStream myInputStream = null;
		Properties config = null;
		String fileCfg = "./conf/whirlycache/default.ini";
		try {
			config = new Properties();
			myInputStream = new FileInputStream(fileCfg);
			config.load(myInputStream);
		} catch (Exception e) {
			logger.severe("Could not load["+fileCfg+"] "+e);
		} finally {
			if(myInputStream!=null) {
				try {
					myInputStream.close();
				} catch (IOException ex) {
					Logger.getLogger(WhirlycottCacheImpl.class.getName()).log(
							Level.SEVERE, "Error", ex);
				}
			}
		}
		
		try {
			if(config!=null) {
				Map map = CacheManager.getConfiguration();			
				CacheConfiguration cc = (CacheConfiguration) map.get("default");
			
				cc.setTunerSleepTime(Integer.parseInt(config.getProperty("tuner-sleeptime").trim()));
				cc.setPolicy(config.getProperty("policy").trim());
				cc.setMaxSize(Integer.parseInt(config.getProperty("maxsize").trim()));
				cc.setBackend(config.getProperty("backend").trim());
				
				CacheManager.getInstance().destroy("default");
				cache = CacheManager.getInstance().createCache(cc);
			}			
		} catch(Exception e) {
			logger.severe("Error: "+e);
		}
	}