| Modifier and Type | Interface and Description |
|---|---|
interface |
StaticCacheResultInvocationContext |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractStaticCacheInvocationContext<A extends Annotation> |
class |
CachePutMethodDetails
Details for a method annotated with
CachePut |
class |
CacheRemoveAllMethodDetails
Details for a method annotated with
CacheRemoveAll |
class |
CacheRemoveEntryMethodDetails
Details for a method annotated with
CacheRemove |
class |
CacheResultMethodDetails
Details for a method annotated with
CacheResult |
class |
StaticCacheKeyInvocationContext<A extends Annotation>
Details common to all annotated methods that generate a cache key
|
| Modifier and Type | Method and Description |
|---|---|
protected <T extends StaticCacheInvocationContext<?>> |
AbstractCacheRemoveAllInterceptor.getCacheInvocationContext(InternalCacheInvocationContext<? extends Annotation> cacheInvocationContext,
InterceptorType interceptorType)
Get, check the
InterceptorType and cast the CacheMethodDetailsImpl for the invocation. |
| Modifier and Type | Method and Description |
|---|---|
StaticCacheInvocationContext<? extends Annotation> |
AbstractCacheLookupUtil.getMethodDetails(Method method,
Class<? extends Object> targetClass)
Get detailed data about an annotated method for a specific targeted class
|
StaticCacheInvocationContext<? extends Annotation> |
CacheContextSource.getMethodDetails(Method method,
Class<? extends Object> targetClass)
Get static information about a method annotated with
CacheResult,
CachePut, CacheRemove,
or CacheRemoveAll |
StaticCacheInvocationContext<A> |
InternalCacheInvocationContext.getStaticCacheInvocationContext() |
StaticCacheInvocationContext<A> |
AbstractInternalCacheInvocationContext.getStaticCacheInvocationContext() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract InternalCacheInvocationContext<? extends Annotation> |
AbstractCacheLookupUtil.createCacheInvocationContextImpl(StaticCacheInvocationContext<? extends Annotation> staticCacheInvocationContext,
I invocation)
Create the cache invocation context for the provided static context and intercepted method invocation
|
protected void |
AbstractCacheRemoveAllInterceptor.removeAll(InternalCacheInvocationContext<? extends Annotation> cacheInvocationContext,
StaticCacheInvocationContext<javax.cache.annotation.CacheRemoveAll> methodDetails)
Resolve the Cache and call removeAll
|
| Constructor and Description |
|---|
AbstractInternalCacheInvocationContext(StaticCacheInvocationContext<A> staticCacheInvocationContext,
I invocation)
Create a AbstractInternalCacheInvocationContext
|
Copyright © 2019. All rights reserved.