public class HazelcastCache extends Object implements org.springframework.cache.Cache
Constructor and Description |
---|
HazelcastCache(IMap<Object,Object> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
evict(Object key) |
protected Object |
fromStoreValue(Object value) |
org.springframework.cache.Cache.ValueWrapper |
get(Object key) |
<T> T |
get(Object key,
Class<T> type) |
String |
getName() |
Object |
getNativeCache() |
void |
put(Object key,
Object value) |
protected Object |
toStoreValue(Object value) |
public String getName()
getName
in interface org.springframework.cache.Cache
public Object getNativeCache()
getNativeCache
in interface org.springframework.cache.Cache
public org.springframework.cache.Cache.ValueWrapper get(Object key)
get
in interface org.springframework.cache.Cache
public void put(Object key, Object value)
put
in interface org.springframework.cache.Cache
public void evict(Object key)
evict
in interface org.springframework.cache.Cache
public void clear()
clear
in interface org.springframework.cache.Cache
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.