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)
OperationInvokerAdvisorapply in interface OperationInvokerAdvisorendpointId - the endpoint IDoperationType - the operation typeparameters - the operation parametersinvoker - the invoker to adviseCopyright © 2019 Pivotal Software, Inc.. All rights reserved.