How to configure NearCache with Hazelcast 3.5 without an explicit Client
问题 Based on this question, I'm trying to switch to the version 3.5-EA of Hibernate. Up to now I had a configuration like this: CacheConfiguration<K, V> configuration = new CacheConfig<K, V>() .setNearCacheConfig(new NearCacheConfig().setInMemoryFormat(InMemoryFormat.OBJECT)) .setExpiryPolicyFactory(createExpiryPolicyFactory(expiryDuration)); cache = cacheManager.createCache(cacheName, configuration); But now the setNearCacheConfig method is gone. There only exists a addNearCacheConfig on the