com.googlecode.ehcache.annotations
Interface CacheableAttribute
- All Superinterfaces:
- MethodAttribute
public interface CacheableAttribute
- extends MethodAttribute
Represents the objects needed to intercept calls to methods annotated
with Cacheable
- Version:
- $Revision: 656 $
- Author:
- Eric Dalquist
getCacheResolver
CacheableCacheResolver getCacheResolver()
- Returns:
- The
CacheableCacheResolver used to determine the Cache and ExceptionCache to use. Cannot return null.
isCacheNull
boolean isCacheNull()
- Returns:
- true If the null return values should be cached.
getCacheInterceptor
CacheableInterceptor getCacheInterceptor()
- Returns:
- The
CacheableInterceptor to use when handling intercepted method invocations. Cannot return null.
Copyright © 2011. All Rights Reserved.