Class SpringHazelcastCachingProvider


  • public final class SpringHazelcastCachingProvider
    extends java.lang.Object
    Spring utility class for connecting HazelcastCachingProvider interface and Hazelcast instance.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.cache.CacheManager getCacheManager​(HazelcastInstance instance, java.lang.String uriString, java.util.Properties props)
      Creates a CacheManager on an existing HazelcastInstance.
      static javax.cache.CacheManager getCacheManager​(java.lang.String uriString, java.util.Properties properties)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCacheManager

        public static javax.cache.CacheManager getCacheManager​(HazelcastInstance instance,
                                                               java.lang.String uriString,
                                                               java.util.Properties props)
        Creates a CacheManager on an existing HazelcastInstance.
        Parameters:
        uriString - Scope of CacheManager
        instance - Hazelcast instance that created CacheManager is connected.
        props - Extra properties to be passed to cache manager. If props contain hazelcast.instance.name it overrides instance parameter
        Returns:
        the created CacheManager
      • getCacheManager

        public static javax.cache.CacheManager getCacheManager​(java.lang.String uriString,
                                                               java.util.Properties properties)