## 接口的使用
org.springframework.cache.interceptor.CacheOperationInvocationContext

- 使用CacheOperationInvocationContext的程序包
  程序包 | 说明
  --- | ---
  org.springframework.cache.interceptor | AOP-based solution for declarative caching demarcation.

- - ### org.springframework.cache.interceptor中CacheOperationInvocationContext的使用

    实现CacheOperationInvocationContext的org.springframework.cache.interceptor中的类
    限定符和类型 | 类和说明
    --- | ---
    `protected class` | `CacheAspectSupport.CacheOperationContext` A `CacheOperationInvocationContext` context for a `CacheOperation`.

    参数类型为CacheOperationInvocationContext的org.springframework.cache.interceptor中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected abstract Collection<String>` | AbstractCacheResolver.`getCacheNames(CacheOperationInvocationContext<?> context)` Provide the name of the cache(s) to resolve against the current cache manager.
    `protected Collection<String>` | NamedCacheResolver.`getCacheNames(CacheOperationInvocationContext<?> context)`
    `protected Collection<String>` | SimpleCacheResolver.`getCacheNames(CacheOperationInvocationContext<?> context)`
    `protected Collection<? extends Cache>` | CacheAspectSupport.`getCaches(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver)`
    `Collection<? extends Cache>` | AbstractCacheResolver.`resolveCaches(CacheOperationInvocationContext<?> context)`
    `Collection<? extends Cache>` | CacheResolver.`resolveCaches(CacheOperationInvocationContext<?> context)` Return the cache(s) to use for the specified invocation.