public interface L2CacheOperationSource
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<L2CacheOperation> |
getCacheOperations(Method method,
Class<?> targetClass)
Return the collection of cache operations for this method,
or
null if the method contains no cacheable annotations. |
default boolean |
isCandidateClass(Class<?> targetClass)
是否是候选类
|
default boolean isCandidateClass(Class<?> targetClass)
targetClass - 目标类@Nullable Collection<L2CacheOperation> getCacheOperations(Method method, @Nullable Class<?> targetClass)
null if the method contains no cacheable annotations.method - the method to introspecttargetClass - the target class (may be null, in which case
the declaring class of the method must be used)null if none foundCopyright © 2023. All rights reserved.