public class HazelcastCacheManager extends Object implements org.springframework.cache.CacheManager, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
HazelcastCacheManager() |
HazelcastCacheManager(HazelcastInstance hazelcastInstance) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.cache.Cache |
getCache(String name) |
Collection<String> |
getCacheNames() |
void |
setHazelcastInstance(HazelcastInstance hazelcastInstance) |
public HazelcastCacheManager()
public HazelcastCacheManager(HazelcastInstance hazelcastInstance)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public org.springframework.cache.Cache getCache(String name)
getCache
in interface org.springframework.cache.CacheManager
public void setHazelcastInstance(HazelcastInstance hazelcastInstance)
public Collection<String> getCacheNames()
getCacheNames
in interface org.springframework.cache.CacheManager
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.