Class CacheInvoker
java.lang.Object
org.springframework.cache.interceptor.AbstractCacheInvoker
com.broadleafcommerce.common.extension.cache.CacheInvoker
public class CacheInvoker
extends org.springframework.cache.interceptor.AbstractCacheInvoker
Utility for performing manual cache operations while leveraging the configured
CacheErrorHandler.-
Field Summary
Fields inherited from class org.springframework.cache.interceptor.AbstractCacheInvoker
errorHandler -
Constructor Summary
ConstructorsConstructorDescriptionCacheInvoker(org.springframework.cache.interceptor.CacheErrorHandler errorHandler) -
Method Summary
Methods inherited from class org.springframework.cache.interceptor.AbstractCacheInvoker
doGet, doRetrieve, doRetrieve, getErrorHandler, setErrorHandler
-
Constructor Details
-
CacheInvoker
public CacheInvoker(org.springframework.cache.interceptor.CacheErrorHandler errorHandler)
-
-
Method Details
-
doGet
public org.springframework.cache.Cache.ValueWrapper doGet(org.springframework.cache.Cache cache, Object key) - Overrides:
doGetin classorg.springframework.cache.interceptor.AbstractCacheInvoker
-
doPut
- Overrides:
doPutin classorg.springframework.cache.interceptor.AbstractCacheInvoker
-
doEvict
-
doEvict
- Overrides:
doEvictin classorg.springframework.cache.interceptor.AbstractCacheInvoker
-
doClear
public void doClear(org.springframework.cache.Cache cache) -
doClear
public void doClear(org.springframework.cache.Cache cache, boolean immediate) - Overrides:
doClearin classorg.springframework.cache.interceptor.AbstractCacheInvoker
-