private void cacheManagerPeerProviderFactory(final Config conf) { if (conf.hasPath("class")) { eh.addCacheManagerPeerProviderFactory( newFactory("ehcache.cacheManagerPeerProviderFactory", conf, FactoryConfiguration::new) ); } else { each(conf, (name, c) -> eh.addCacheManagerPeerProviderFactory( newFactory("ehcache.cacheManagerPeerProviderFactory." + name, c, FactoryConfiguration::new) )); } }
/** * Builder method to add a peer provider through a factory. * * @return this configuration instance */ public final Configuration cacheManagerPeerProviderFactory(FactoryConfiguration factory) { addCacheManagerPeerProviderFactory(factory); return this; }
/** * Builder method to add a peer provider through a factory. * * @return this configuration instance */ public final Configuration cacheManagerPeerProviderFactory(FactoryConfiguration factory) { addCacheManagerPeerProviderFactory(factory); return this; }
/** * Builder method to add a peer provider through a factory. * * @return this configuration instance */ public final Configuration cacheManagerPeerProviderFactory(FactoryConfiguration factory) { addCacheManagerPeerProviderFactory(factory); return this; }
/** * Builder method to add a peer provider through a factory. * * @return this configuration instance */ public final Configuration cacheManagerPeerProviderFactory(FactoryConfiguration factory) { addCacheManagerPeerProviderFactory(factory); return this; }
private void cacheManagerPeerProviderFactory(final Config conf) { if (conf.hasPath("class")) { eh.addCacheManagerPeerProviderFactory( newFactory("ehcache.cacheManagerPeerProviderFactory", conf, FactoryConfiguration::new) ); } else { each(conf, (name, c) -> eh.addCacheManagerPeerProviderFactory( newFactory("ehcache.cacheManagerPeerProviderFactory." + name, c, FactoryConfiguration::new) )); } }