|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheableCacheResolver
Used to resolve the cache to use at runtime for Cacheable annotated methods
| Method Summary | |
|---|---|
net.sf.ehcache.Ehcache |
resolveCache(java.io.Serializable cacheKey,
org.aopalliance.intercept.MethodInvocation invocation)
Resolve the cache to use to handle the method invocation. |
net.sf.ehcache.Ehcache |
resolveExceptionCache(java.io.Serializable cacheKey,
org.aopalliance.intercept.MethodInvocation invocation,
java.lang.Throwable t)
Resolve the cache to use to handle an exception thrown by the method invocation. |
java.lang.ThreadLocal<org.aopalliance.intercept.MethodInvocation> |
resolveSelfPopulatingCacheEntryFactory(net.sf.ehcache.Ehcache cache,
java.io.Serializable cacheKey,
org.aopalliance.intercept.MethodInvocation invocation)
Resolve the ThreadLocal used to handle the self-populating nature of the cache. |
| Method Detail |
|---|
net.sf.ehcache.Ehcache resolveCache(java.io.Serializable cacheKey,
org.aopalliance.intercept.MethodInvocation invocation)
cacheKey - The key generated by the configured CacheKeyGeneratorinvocation - The MethodInvocation that is being intercepted
java.lang.ThreadLocal<org.aopalliance.intercept.MethodInvocation> resolveSelfPopulatingCacheEntryFactory(net.sf.ehcache.Ehcache cache,
java.io.Serializable cacheKey,
org.aopalliance.intercept.MethodInvocation invocation)
cacheKey - The key generated by the configured CacheKeyGeneratorinvocation - The MethodInvocation that is being intercepted
net.sf.ehcache.Ehcache resolveExceptionCache(java.io.Serializable cacheKey,
org.aopalliance.intercept.MethodInvocation invocation,
java.lang.Throwable t)
cacheKey - The key generated by the configured CacheKeyGeneratorinvocation - The MethodInvocation that is being interceptedt - The exception thrown by the MethodInvocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||