接口 JCacheOperationSource

    • 方法详细资料

      • getCacheOperation

        JCacheOperation<?> getCacheOperation​(Method method,
                                             Class<?> targetClass)
        Return the cache operations for this method, or null if the method contains no JSR-107 related metadata.
        参数:
        method - the method to introspect
        targetClass - the target class (may be null, in which case the declaring class of the method must be used)
        返回:
        the cache operation for this method, or null if none found