Class HazelcastCacheService

    • Constructor Detail

      • HazelcastCacheService

        public HazelcastCacheService()
    • Method Detail

      • initialise

        public void initialise​(Properties properties)
        Description copied from interface: ICacheService
        Initialise the cache service based on the supplied Properties object.
        Specified by:
        initialise in interface ICacheService
        Parameters:
        properties - the Properties object to apply to the cache service
      • getCache

        public <K,​V> ICache<K,​V> getCache​(String cacheName)
        Description copied from interface: ICacheService
        Get the named cache from the cache service.
        Specified by:
        getCache in interface ICacheService
        Type Parameters:
        K - The object type that acts as the key for the cache
        V - The value that is stored in the cache
        Parameters:
        cacheName - the name of the cache to retrieve
        Returns:
        the requested cache object