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