I - The intercepted method invocationpublic abstract class AbstractCachePutInterceptor<I> extends AbstractKeyedCacheInterceptor<I,CachePutMethodDetails>
CachePut| Constructor and Description |
|---|
AbstractCachePutInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
cachePut(CacheContextSource<I> cacheContextSource,
I invocation)
Handles the
Cache.put(Object, Object) as specified for the CachePut annotation |
protected void |
cacheValue(InternalCacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext,
CachePutMethodDetails methodDetails,
Object value)
Lookup the Cache, generate a GeneratedCacheKey and store the value in the cache.
|
getStaticCacheKeyInvocationContextproceedpublic Object cachePut(CacheContextSource<I> cacheContextSource, I invocation) throws Throwable
Cache.put(Object, Object) as specified for the CachePut annotationcacheContextSource - The intercepted invocationinvocation - The intercepted invocationAbstractCacheInterceptor.proceed(Object)Throwable - if AbstractCacheInterceptor.proceed(Object) threwprotected void cacheValue(InternalCacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext, CachePutMethodDetails methodDetails, Object value)
cacheKeyInvocationContext - The invocation contextmethodDetails - The details about the cached methodvalue - The value to cacheCopyright © 2019. All rights reserved.