public class CachingOperationInvokerAdvisor extends java.lang.Object implements OperationInvokerAdvisor
OperationInvokerAdvisor to optionally provide result caching support.| 构造器和说明 |
|---|
CachingOperationInvokerAdvisor(java.util.function.Function<EndpointId,java.lang.Long> endpointIdTimeToLive) |
| 限定符和类型 | 方法和说明 |
|---|---|
OperationInvoker |
apply(EndpointId endpointId,
OperationType operationType,
OperationParameters parameters,
OperationInvoker invoker)
Apply additional functionality to the given invoker.
|
public CachingOperationInvokerAdvisor(java.util.function.Function<EndpointId,java.lang.Long> endpointIdTimeToLive)
public OperationInvoker apply(EndpointId endpointId, OperationType operationType, OperationParameters parameters, OperationInvoker invoker)
OperationInvokerAdvisorapply 在接口中 OperationInvokerAdvisorendpointId - the endpoint IDoperationType - the operation typeparameters - the operation parametersinvoker - the invoker to advise