public class SpringCache extends Object implements org.springframework.cache.Cache
A implementation that delegates to a
Cache instance supplied at construction
time.
org.infinispan.Cache
| Constructor and Description |
|---|
SpringCache(BasicCache<Object,Object> nativeCache) |
public SpringCache(BasicCache<Object,Object> nativeCache)
nativeCache - public String getName()
getName in interface org.springframework.cache.CacheCache.getName()public BasicCache<?,?> getNativeCache()
getNativeCache in interface org.springframework.cache.CacheCache.getNativeCache()public org.springframework.cache.Cache.ValueWrapper get(Object key)
get in interface org.springframework.cache.CacheCache.get(java.lang.Object)public void put(Object key, Object value)
put in interface org.springframework.cache.CacheCache.put(java.lang.Object, java.lang.Object)public void evict(Object key)
evict in interface org.springframework.cache.CacheCache.evict(java.lang.Object)public void clear()
clear in interface org.springframework.cache.CacheCache.clear()public String toString()
toString in class ObjectObject.toString()Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.