Top Description Constructors Methods
org.springframework.cache.jcache.interceptor

pack-priv Class CachePutInterceptor

extends AbstractKeyCacheInterceptor<CachePutOperation, CachePut>
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.cache.annotation.CacheKeyInvocationContext, .CachePut, org.springframework.cache.Cache, org.springframework.cache.interceptor.CacheErrorHandler, .CacheOperationInvocationContext, .CacheOperationInvoker

Intercept methods annotated with CachePut.
Author
Stephane Nicoll
Since
4.1

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
protected Object
Inherited from org.springframework.cache.jcache.interceptor.AbstractKeyCacheInterceptor:
createCacheKeyInvocationContextgenerateKey

Constructor Detail

CachePutInterceptorback to summary
public CachePutInterceptor(CacheErrorHandler errorHandler)

Method Detail

cacheValueback to summary
protected void cacheValue(CacheOperationInvocationContext<CachePutOperation> context, Object value)
invokeback to summary
protected Object invoke(CacheOperationInvocationContext<CachePutOperation> context, CacheOperationInvoker invoker)

Implements abstract org.springframework.cache.jcache.interceptor.AbstractCacheInterceptor.invoke.

Annotations
@Override