接口 CacheOperationSource

    • 方法详细资料

      • getCacheOperations

        Collection<CacheOperationgetCacheOperations​(Method method,
                                                      Class<?> targetClass)
        Return the collection of cache operations for this method, or null if the method contains no cacheable annotations.
        参数:
        method - the method to introspect
        targetClass - the target class (may be null, in which case the declaring class of the method must be used)
        返回:
        all cache operations for this method, or null if none found