public class CachingOperationInvokerAdvisor extends Object implements OperationMethodInvokerAdvisor
OperationMethodInvokerAdvisor to optionally wrap an OperationInvoker
with a CachingOperationInvoker.| Constructor and Description |
|---|
CachingOperationInvokerAdvisor(Function<String,Long> endpointIdTimeToLive) |
| Modifier and Type | Method and Description |
|---|---|
OperationInvoker |
apply(String endpointId,
OperationMethodInfo methodInfo,
OperationInvoker invoker)
Apply additional functionality to the given invoker.
|
public OperationInvoker apply(String endpointId, OperationMethodInfo methodInfo, OperationInvoker invoker)
OperationMethodInvokerAdvisorapply in interface OperationMethodInvokerAdvisorendpointId - the endpoint IDmethodInfo - the method informationinvoker - the invoker to adviseCopyright © 2017 Pivotal Software, Inc.. All rights reserved.