Package com.hazelcast.spring.cache
Class SpringHazelcastCachingProvider
java.lang.Object
com.hazelcast.spring.cache.SpringHazelcastCachingProvider
Spring utility class for connecting
HazelcastCachingProvider interface and Hazelcast instance.-
Method Summary
Modifier and TypeMethodDescriptionstatic javax.cache.CacheManagergetCacheManager(HazelcastInstance instance, String uriString, Properties props) Creates aCacheManageron an existing HazelcastInstance.static javax.cache.CacheManagergetCacheManager(String uriString, Properties properties)
-
Method Details
-
getCacheManager
public static javax.cache.CacheManager getCacheManager(HazelcastInstance instance, String uriString, Properties props) Creates aCacheManageron an existing HazelcastInstance.- Parameters:
uriString- Scope ofCacheManagerinstance- Hazelcast instance that createdCacheManageris connected.props- Extra properties to be passed to cache manager. Ifpropscontain hazelcast.instance.name it overridesinstanceparameter- Returns:
- the created
CacheManager
-
getCacheManager
-