public interface CacheResolver
Cache
to use for an intercepted method invocation.
Implementations MUST be thread-safe.
CacheResolverFactory
Modifier and Type | Method and Description |
---|---|
<K,V> Cache<K,V> |
resolveCache(CacheInvocationContext<? extends Annotation> cacheInvocationContext)
Resolve the
Cache to use for the CacheInvocationContext . |
<K,V> Cache<K,V> resolveCache(CacheInvocationContext<? extends Annotation> cacheInvocationContext)
Cache
to use for the CacheInvocationContext
.cacheInvocationContext
- The context data for the intercepted method
invocationCache
instance to be used by the interceptorCopyright © 2014. All Rights Reserved.