Class CachingOperationInvokerAdvisor
java.lang.Object
org.springframework.boot.actuate.endpoint.invoker.cache.CachingOperationInvokerAdvisor
- All Implemented Interfaces:
OperationInvokerAdvisor
OperationInvokerAdvisor to optionally provide result caching support.- Since:
- 2.0.0
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionCachingOperationInvokerAdvisor(Function<EndpointId, Long> endpointIdTimeToLive) -
Method Summary
Modifier and TypeMethodDescriptionapply(EndpointId endpointId, OperationType operationType, OperationParameters parameters, OperationInvoker invoker) Apply additional functionality to the given invoker.
-
Constructor Details
-
CachingOperationInvokerAdvisor
-
-
Method Details
-
apply
public OperationInvoker apply(EndpointId endpointId, OperationType operationType, OperationParameters parameters, OperationInvoker invoker) Description copied from interface:OperationInvokerAdvisorApply additional functionality to the given invoker.- Specified by:
applyin interfaceOperationInvokerAdvisor- Parameters:
endpointId- the endpoint IDoperationType- the operation typeparameters- the operation parametersinvoker- the invoker to advise- Returns:
- a potentially new operation invoker with support for additional features
-