Caching, Cacheable,
CacheEvict, and CachePut annotations.
| Modifier and Type | Class and Description |
|---|---|
| private static class | SpringCacheAnnotationParser.DefaultCacheConfig
Provides default settings for a given set of cache operations. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set |
| Access | Constructor and Description |
|---|---|
| public |
| CACHE_OPERATION_ANNOTATIONS | back to summary |
|---|---|
| private static final Set<Class<? extends Annotation>> CACHE_OPERATION_ANNOTATIONS | |
| SpringCacheAnnotationParser | back to summary |
|---|---|
| public SpringCacheAnnotationParser() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isCandidateClass | back to summary |
|---|---|
| public boolean isCandidateClass(Class<?> targetClass) Overrides default org. Doc from org. Determine whether the given class is a candidate for cache operations
in the annotation format of this If this method returns | |
| parseCacheableAnnotation | back to summary |
|---|---|
| private CacheableOperation parseCacheableAnnotation(AnnotatedElement ae, SpringCacheAnnotationParser. | |
| parseCacheAnnotations | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Parse the cache definition for the given class, based on an annotation type understood by this parser. This essentially parses a known cache annotation into Spring's metadata
attribute class. Returns
| |
| parseCacheAnnotations | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Parse the cache definition for the given method, based on an annotation type understood by this parser. This essentially parses a known cache annotation into Spring's metadata
attribute class. Returns
| |
| parseCacheAnnotations | back to summary |
|---|---|
private Collection
| |
| parseCacheAnnotations | back to summary |
|---|---|
private Collection
| |
| parseCachingAnnotation | back to summary |
|---|---|
| private void parseCachingAnnotation(AnnotatedElement ae, SpringCacheAnnotationParser. | |
| parseEvictAnnotation | back to summary |
|---|---|
| private CacheEvictOperation parseEvictAnnotation(AnnotatedElement ae, SpringCacheAnnotationParser. | |
| parsePutAnnotation | back to summary |
|---|---|
| private CacheOperation parsePutAnnotation(AnnotatedElement ae, SpringCacheAnnotationParser. | |
| validateCacheOperation | back to summary |
|---|---|
| private void validateCacheOperation(AnnotatedElement ae, CacheOperation operation) Validates the specified Throws an
| |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String[] | |
| private String | |
| private boolean | |
| private String | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyDefault(CacheOperation.
the operation builder to update builderApply the defaults to the specified |
| cacheManager | back to summary |
|---|---|
| private String cacheManager
| |
| cacheNames | back to summary |
|---|---|
| private String[] cacheNames
| |
| cacheResolver | back to summary |
|---|---|
| private String cacheResolver
| |
| initialized | back to summary |
|---|---|
| private boolean initialized | |
| keyGenerator | back to summary |
|---|---|
| private String keyGenerator
| |
| target | back to summary |
|---|---|
| private final Class<?> target | |
| DefaultCacheConfig | back to summary |
|---|---|
| public DefaultCacheConfig(Class<?> target) | |
| applyDefault | back to summary |
|---|---|
| public void applyDefault(CacheOperation. Apply the defaults to the specified
| |