| Modifier and Type | Class and Description |
|---|---|
class |
AbstractInternalCacheKeyInvocationContext<I,A extends Annotation>
Provides caching specific context about an intercepted method invocation.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract InternalCacheKeyInvocationContext<? extends Annotation> |
AbstractCacheLookupUtil.createCacheKeyInvocationContextImpl(StaticCacheKeyInvocationContext<? extends Annotation> staticCacheKeyInvocationContext,
I invocation)
Create the cache key invocation context for the provided static context and intercepted method invocation
|
InternalCacheKeyInvocationContext<? extends Annotation> |
AbstractCacheLookupUtil.getCacheKeyInvocationContext(I invocation)
Get the
InternalCacheKeyInvocationContext for the CDI invocation. |
InternalCacheKeyInvocationContext<? extends Annotation> |
CacheContextSource.getCacheKeyInvocationContext(I invocation)
Get information about an invocation annotated
CacheResult,
CachePut, or CacheRemove |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractCachePutInterceptor.cacheValue(InternalCacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext,
CachePutMethodDetails methodDetails,
Object value)
Lookup the Cache, generate a GeneratedCacheKey and store the value in the cache.
|
protected javax.cache.Cache<Object,Throwable> |
AbstractCacheResultInterceptor.getExceptionCache(InternalCacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext,
CacheResultMethodDetails methodDetails)
Get the exception cache if one is configured
|
protected T |
AbstractKeyedCacheInterceptor.getStaticCacheKeyInvocationContext(InternalCacheKeyInvocationContext<?> cacheInvocationContext,
InterceptorType interceptorType)
Get, check the
InterceptorType and cast the CacheMethodDetailsImpl for the invocation. |
Copyright © 2019. All rights reserved.