| Constructor and Description |
|---|
EhCacheCache(Ehcache ehcache)
Create an
EhCacheCache instance. |
public EhCacheCache(Ehcache ehcache)
EhCacheCache instance.ehcache - backing Ehcache instancepublic String getName()
getName in interface org.springframework.cache.Cachepublic Ehcache getNativeCache()
getNativeCache in interface org.springframework.cache.Cachepublic org.springframework.cache.Cache.ValueWrapper get(Object key)
get in interface org.springframework.cache.Cachepublic void put(Object key, Object value)
put in interface org.springframework.cache.Cachepublic void evict(Object key)
evict in interface org.springframework.cache.Cachepublic void clear()
clear in interface org.springframework.cache.Cache