JCacheOperation implementation for a CacheResult operation.
CacheResult
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final CacheResolver | |
| private final ExceptionTypeFilter |
| Access | Constructor and Description |
|---|---|
| public | CacheResultOperation(CacheMethodDetails<CacheResult> methodDetails, CacheResolver cacheResolver, KeyGenerator keyGenerator, CacheResolver exceptionCacheResolver)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getExceptionCacheName()
Return the name of the cache to cache exceptions, or |
| public CacheResolver | getExceptionCacheResolver()
Return the |
| public ExceptionTypeFilter | getExceptionTypeFilter()
Implements abstract org. Return the |
| public boolean |
| exceptionCacheName | back to summary |
|---|---|
| private final String exceptionCacheName
| |
| exceptionCacheResolver | back to summary |
|---|---|
| private final CacheResolver exceptionCacheResolver
| |
| exceptionTypeFilter | back to summary |
|---|---|
| private final ExceptionTypeFilter exceptionTypeFilter | |
| CacheResultOperation | back to summary |
|---|---|
| public CacheResultOperation(CacheMethodDetails<CacheResult> methodDetails, CacheResolver cacheResolver, KeyGenerator keyGenerator, CacheResolver exceptionCacheResolver) | |
| getExceptionCacheName | back to summary |
|---|---|
| public String getExceptionCacheName() Return the name of the cache to cache exceptions, or
| |
| getExceptionCacheResolver | back to summary |
|---|---|
| public CacheResolver getExceptionCacheResolver() Return the
| |
| getExceptionTypeFilter | back to summary |
|---|---|
| public ExceptionTypeFilter getExceptionTypeFilter() Implements abstract org. Doc from org. Return the
| |
| isAlwaysInvoked | back to summary |
|---|---|
| public boolean isAlwaysInvoked() Specify if the method should always be invoked regardless of a cache hit. By default, the method is only invoked in case of a cache miss. | |