.mBeanServerLookup(new PerThreadMBeanServerLookup())
.enabled(exposeGlobalJmx);
if (cacheManagerName != null)
globalConfiguration.globalJmxStatistics().cacheManagerName(cacheManagerName);
ConfigurationBuilder configuration = new ConfigurationBuilder();
configuration.jmxStatistics().enabled(exposeCacheJmx);
return createCacheManager(globalConfiguration, configuration, true);
}
public static ConfigurationBuilder getDefaultCacheConfiguration(boolean transactional) {
return getDefaultCacheConfiguration(transactional, false);