类 CachingOperationInvokerAdvisor
- java.lang.Object
- org.springframework.boot.actuate.endpoint.invoker.cache.CachingOperationInvokerAdvisor
- 所有已实现的接口:
OperationInvokerAdvisor
public class CachingOperationInvokerAdvisor extends Object implements OperationInvokerAdvisor
OperationInvokerAdvisor
to optionally provide result caching support.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 CachingOperationInvokerAdvisor(Function<EndpointId,Long> endpointIdTimeToLive)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 OperationInvoker
apply(EndpointId endpointId, OperationType operationType, OperationParameters parameters, OperationInvoker invoker)
Apply additional functionality to the given invoker.
构造器详细资料
CachingOperationInvokerAdvisor
public CachingOperationInvokerAdvisor(Function<EndpointId,Long> endpointIdTimeToLive)
方法详细资料
apply
public OperationInvoker apply(EndpointId endpointId, OperationType operationType, OperationParameters parameters, OperationInvoker invoker)
从接口复制的说明:OperationInvokerAdvisor
Apply additional functionality to the given invoker.- 指定者:
apply
在接口中OperationInvokerAdvisor
- 参数:
endpointId
- the endpoint IDoperationType
- the operation typeparameters
- the operation parametersinvoker
- the invoker to advise- 返回:
- an potentially new operation invoker with support for additional features