public interface CacheResolver
Cache
instance(s) to use for an intercepted method invocation.
Implementations must be thread-safe.
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends Cache> |
resolveCaches(CacheOperationInvocationContext<?> context)
Return the cache(s) to use for the specified invocation.
|
java.util.Collection<? extends Cache> resolveCaches(CacheOperationInvocationContext<?> context)
context
- the context of the particular invocationnull
)