所有方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
void |
afterSingletonsInstantiated() |
private void |
collectPutRequests(Collection<L2CacheAspectSupport.L2CacheOperationContext> contexts,
Object result,
Collection<L2CacheAspectSupport.L2CachePutRequest> putRequests) |
void |
configure(L2CacheOperationSource l2CacheOperationSource,
Supplier<L2CacheResolver> cacheResolver) |
protected void |
doClear(L2Cache cache) |
protected void |
doEvict(L2Cache cache,
String key) |
private Object |
execute(L2CacheOperationInvoker invoker,
Method method,
L2CacheAspectSupport.L2CacheOperationContexts contexts) |
protected Object |
execute(L2CacheOperationInvoker invoker,
Object target,
Method method,
Object[] args) |
private Object |
findCachedItem(Collection<L2CacheAspectSupport.L2CacheOperationContext> contexts) |
private Object |
findInCaches(L2CacheAspectSupport.L2CacheOperationContext context,
String key) |
private String |
generateKey(L2CacheAspectSupport.L2CacheOperationContext context,
Object result) |
protected L2CacheAspectSupport.L2CacheOperationMetadata |
getCacheOperationMetadata(L2CacheOperation operation,
Method method,
Class<?> targetClass) |
L2CacheOperationSource |
getCacheOperationSource() |
L2CacheResolver |
getCacheResolver() |
protected Collection<? extends L2Cache> |
getCaches(L2CacheOperationInvocationContext<L2CacheOperation> context,
L2CacheResolver cacheResolver) |
protected L2CacheAspectSupport.L2CacheOperationContext |
getOperationContext(L2CacheOperation operation,
Method method,
Object[] args,
Object target,
Class<?> targetClass) |
private Class<?> |
getTargetClass(Object target) |
protected Object |
invokeOperation(L2CacheOperationInvoker invoker) |
private void |
performCacheEvict(L2CacheAspectSupport.L2CacheOperationContext context,
L2CacheEvictOperation operation,
Object result) |
private void |
processCacheEvicts(Collection<L2CacheAspectSupport.L2CacheOperationContext> contexts,
Object result,
boolean beforeInvocation) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
private Object |
unwrapReturnValue(Object returnValue) |
private Object |
wrapCacheValue(Method method,
Object cacheValue) |