Interface AnnotationCacheOperationSource.CacheOperationProvider
- Enclosing class:
- AnnotationCacheOperationSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface protected static interface AnnotationCacheOperationSource.CacheOperationProvider
Callback interface providingCacheOperation
instance(s) based on a givenCacheAnnotationParser
.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<CacheOperation>
getCacheOperations(CacheAnnotationParser parser)
Return theCacheOperation
instance(s) provided by the specified parser.
Method Detail
getCacheOperations
@Nullable Collection<CacheOperation> getCacheOperations(CacheAnnotationParser parser)
Return theCacheOperation
instance(s) provided by the specified parser.- Parameters:
parser
- the parser to use- Returns:
- the cache operations, or
null
if none found