public class RpcLookout extends Object
| 构造器和说明 |
|---|
RpcLookout() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
collectClient(RpcClientLookoutModel rpcClientMetricsModel)
Collect the RPC client information.
|
void |
collectServer(RpcServerLookoutModel rpcServerMetricsModel)
Collect the RPC server information.
|
void |
collectThreadPool(ServerConfig serverConfig,
ThreadPoolExecutor threadPoolExecutor)
Collect the thread pool information
|
com.alipay.lookout.api.Id |
createMethodProviderId(RpcServerLookoutModel model)
Create provider id
|
void |
removeThreadPool(ServerConfig serverConfig)
remove the thread pool information
|
public void collectClient(RpcClientLookoutModel rpcClientMetricsModel)
rpcClientMetricsModel - client information modelpublic void collectServer(RpcServerLookoutModel rpcServerMetricsModel)
rpcServerMetricsModel - server information modelpublic void collectThreadPool(ServerConfig serverConfig, ThreadPoolExecutor threadPoolExecutor)
serverConfig - ServerConfigthreadPoolExecutor - ThreadPoolExecutorpublic void removeThreadPool(ServerConfig serverConfig)
serverConfig - server configpublic com.alipay.lookout.api.Id createMethodProviderId(RpcServerLookoutModel model)
model - RpcServerLookoutModelCopyright © 2008–2018 The Ant Financial. All rights reserved.