@ThreadSafe public class MetricsMasterClient extends alluxio.AbstractMasterClient
| Constructor and Description |
|---|
MetricsMasterClient(alluxio.master.MasterClientContext conf)
Creates a new metrics master client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterConnect() |
protected alluxio.grpc.ServiceType |
getRemoteServiceType() |
protected String |
getServiceName() |
protected long |
getServiceVersion() |
void |
heartbeat(List<alluxio.grpc.ClientMetrics> metrics)
The method the worker should periodically execute to heartbeat back to the master.
|
public MetricsMasterClient(alluxio.master.MasterClientContext conf)
conf - master client configurationprotected alluxio.grpc.ServiceType getRemoteServiceType()
getRemoteServiceType in class alluxio.AbstractClientprotected String getServiceName()
getServiceName in class alluxio.AbstractClientprotected long getServiceVersion()
getServiceVersion in class alluxio.AbstractClientprotected void afterConnect()
afterConnect in class alluxio.AbstractClientpublic void heartbeat(List<alluxio.grpc.ClientMetrics> metrics) throws IOException
metrics - a list of client metricsIOExceptionCopyright © 2024. All Rights Reserved.