private MapConfig createDistMapConfig(String cacheName, int timeout) {
			MapConfig mapConfig = new MapConfig(cacheName);
			mapConfig.getMergePolicyConfig().setPolicy(LatestUpdateMergePolicy.class.getName());
			mapConfig.setTimeToLiveSeconds(timeout);
			return mapConfig;
		}
Dynamic cache configuration. it creates local cache or dist cache.

@since 3.1
ngrinder-controller/src/main/java/org/ngrinder/infra/config/DynamicCacheConfig.java