CacheInterceptor. Implementations know how to source
cache operation attributes, whether from configuration, metadata attributes at
source level, or elsewhere.
| Modifier and Type | Method and Description |
|---|---|
| public Collection | Returns: all cache operations for this method, ornull if none foundthe method to introspect method, Class<?> the target class (may be targetClass)null, in which case
the declaring class of the method must be used)Return the collection of cache operations for this method,
or |
| public default boolean | Returns: false if the class is known to have no cache operation
metadata at class or method level; true otherwise. The default
implementation returns true, leading to regular introspection.the class to introspect targetClass)Determine whether the given class is a candidate for cache operations
in the metadata format of this |
| getCacheOperations | back to summary |
|---|---|
| public Collection Return the collection of cache operations for this method,
or
| |
| isCandidateClass | back to summary |
|---|---|
| public default boolean isCandidateClass(Class<?> targetClass) Determine whether the given class is a candidate for cache operations
in the metadata format of this If this method returns
| |