org.springframework.cache.interceptor

Interface CacheOperationSource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.util.Collection<CacheOperation> getCacheOperations(java.lang.reflect.Method method, java.lang.Class<?> targetClass)
      Return the collection of cache operations for this method, or null if the method contains no cacheable annotations.
    • Method Detail

      • getCacheOperations

        @Nullable
        java.util.Collection<CacheOperation> getCacheOperations(java.lang.reflect.Method method,
                                                                          @Nullable
                                                                          java.lang.Class<?> targetClass)
        Return the collection of cache operations for this method, or null if the method contains no cacheable annotations.
        Parameters:
        method - the method to introspect
        targetClass - the target class (may be null, in which case the declaring class of the method must be used)
        Returns:
        all cache operations for this method, or null if none found