CacheMethodDetails implementation.
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private final A | |
| private final String | |
| private final Method |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Set | getAnnotations()
Implements javax. An immutable Set of all Annotations on this method |
| public A | getCacheAnnotation()
Implements javax. The caching related annotation on the method. |
| public String | getCacheName()
Implements javax. The cache name resolved by the implementation. |
| public Method | |
| public String |
| annotations | back to summary |
|---|---|
| private final Set<Annotation> annotations | |
| cacheAnnotation | back to summary |
|---|---|
| private final A cacheAnnotation | |
| cacheName | back to summary |
|---|---|
| private final String cacheName | |
| method | back to summary |
|---|---|
| private final Method method | |
| DefaultCacheMethodDetails | back to summary |
|---|---|
| public DefaultCacheMethodDetails(Method method, A cacheAnnotation, String cacheName) | |
| getAnnotations | back to summary |
|---|---|
| public Set Implements javax. Doc from javax. An immutable Set of all Annotations on this method
| |
| getCacheAnnotation | back to summary |
|---|---|
| public A getCacheAnnotation() Implements javax. Doc from javax. The caching related annotation on the method.
One of:
| |
| getCacheName | back to summary |
|---|---|
| public String getCacheName() Implements javax. Doc from javax. 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() Implements javax. Doc from javax. The annotated method | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |