public class CachingOperationInvokerAdvisor extends java.lang.Object implements OperationInvokerAdvisor
OperationInvokerAdvisor to optionally provide result caching support.| Constructor and Description |
|---|
CachingOperationInvokerAdvisor(java.util.function.Function<EndpointId,java.lang.Long> endpointIdTimeToLive) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface OperationInvokerAdvisorendpointId - the endpoint IDoperationType - the operation typeparameters - the operation parametersinvoker - the invoker to advise