public interface CacheResolver
Cache
to use for an intercepted method invocation.
Implementations MUST be thread-safe.
CacheResolverFactory
Modifier and Type | Method | 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
.K
- the type of keyV
- the type of valuecacheInvocationContext
- The context data for the intercepted method
invocationCache
instance to be used by the interceptorCopyright © 2017. All rights reserved.