CacheResult, CachePut, CacheRemove, or
CacheRemoveAll.
CacheResult, CachePut, CacheRemove, or CacheRemoveAll
Used with CacheResolverFactory#getCacheResolver(CacheMethodDetails) to
determine the CacheResolver to use with the method.
CacheResolverFactory
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: An immutable Set of all Annotations on this methodAn immutable Set of all Annotations on this method |
| public A | Returns: The caching related annotation on the method.The caching related annotation on the method. |
| public String | |
| public Method |
| getAnnotations | back to summary |
|---|---|
| public Set An immutable Set of all Annotations on this method
| |
| getCacheAnnotation | back to summary |
|---|---|
| public A getCacheAnnotation() The caching related annotation on the method.
One of:
| |
| getCacheName | back to summary |
|---|---|
| public String getCacheName() The cache name resolved by the implementation.
The cache name is determined by first looking at the cacheName attribute of
the method level annotation. If that attribute is not set then the class
level "fully qualified class name"."method name"("fully qualified parameter class names") For example:
Results in the cache name: "my.app.DomainDao.getDomain(java.lang.String,int)"
| |
| getMethod | back to summary |
|---|---|
| public Method getMethod() The annotated method
| |