public class CachingOperationInvokerAdvisor extends Object implements OperationInvokerAdvisor
OperationInvokerAdvisor
to optionally provide result caching support.Constructor and Description |
---|
CachingOperationInvokerAdvisor(Function<EndpointId,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(Function<EndpointId,Long> endpointIdTimeToLive)
public OperationInvoker apply(EndpointId endpointId, OperationType operationType, OperationParameters parameters, OperationInvoker invoker)
OperationInvokerAdvisor
apply
in interface OperationInvokerAdvisor
endpointId
- the endpoint IDoperationType
- the operation typeparameters
- the operation parametersinvoker
- the invoker to advise