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.CacheManager
getCacheManager
(HazelcastInstance instance, String uriString, Properties props) Creates aCacheManager
on an existing HazelcastInstance.static javax.cache.CacheManager
getCacheManager
(String uriString, Properties properties)
-
Method Details
-
getCacheManager
public static javax.cache.CacheManager getCacheManager(HazelcastInstance instance, String uriString, Properties props) Creates aCacheManager
on an existing HazelcastInstance.- Parameters:
uriString
- Scope ofCacheManager
instance
- Hazelcast instance that createdCacheManager
is connected.props
- Extra properties to be passed to cache manager. Ifprops
contain hazelcast.instance.name it overridesinstance
parameter- Returns:
- the created
CacheManager
-
getCacheManager
-