public interface AopCacheProcessor
Modifier and Type | Method and Description |
---|---|
Object |
endProcessor(CacheMetadata metadata,
org.aopalliance.intercept.MethodInvocation invocation) |
void |
postProcess(CacheMetadata metadata,
org.aopalliance.intercept.MethodInvocation invocation,
Object result) |
boolean |
preProcess(CacheMetadata metadata,
org.aopalliance.intercept.MethodInvocation invocation)
前置处理操作
|
boolean preProcess(CacheMetadata metadata, org.aopalliance.intercept.MethodInvocation invocation)
metadata
- invocation
- void postProcess(CacheMetadata metadata, org.aopalliance.intercept.MethodInvocation invocation, Object result)
metadata
- invocation
- 后置处理操作result
- 执行结果Object endProcessor(CacheMetadata metadata, org.aopalliance.intercept.MethodInvocation invocation)
metadata
- invocation
- 流程结束操作,方法返回值作为AopCacheInterceptor。invoke(MethodInvocation
invocation)方法的返回值Copyright © 2006–2018 TinyGroup. All rights reserved.