code: public void saveLocalCache(ZookeeperConfigGroup configNode, String node) {
  		String localFilePath = genCacheFilePath(node);
  		LOGGER.debug("Saving cache to file: {}", localFilePath);
  
  		Map<String, String> data = configNode.exportProperties();
  		if (data != null && data.size() > 0) {
  			Properties properties = new Properties();
  			for (Entry<String, String> entry : data.entrySet()) {
  				properties.put(entry.getKey(), entry.getValue());
  			}
  			Writer writer = null;
  			try {
  				writer = new OutputStreamWriter(new FileOutputStream(localFilePath), "UTF-8");
  				properties.store(writer, String.format("Local cache of configs group: %s", node));
  			} catch (IOException e) {
  				LOGGER.error(e.getMessage(), e);
  			} finally {
  				if (writer != null) {
  					try {
  						writer.close();
  					} catch (IOException e) {
  						// DO NOTHING
  					}
  				}
  			}
  		}
  	}
docs: 缓存配置到本地
  
  @param configNode
  @param node