I - The intercepted method invocationpublic abstract class AbstractCachePutInterceptor<I> extends AbstractKeyedCacheInterceptor<I,CachePutMethodDetails>
CachePut| Constructor | Description |
|---|---|
AbstractCachePutInterceptor() |
| Modifier and Type | Method | 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.
|
proceedgetStaticCacheKeyInvocationContextpublic 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 © 2017. All rights reserved.