@ThreadSafe public final class ClientMasterSync extends Object
MetricsMasterClient
.
If the task fails to heartbeat to the master, it will destroy its old master client and recreate
it before retrying.Constructor and Description |
---|
ClientMasterSync(String appId,
MetricsMasterClient masterClient,
AlluxioConfiguration conf)
Constructs a new
ClientMasterSync . |
Modifier and Type | Method and Description |
---|---|
void |
heartbeat()
Sends metrics to the master keyed with appId and client hostname.
|
public ClientMasterSync(String appId, MetricsMasterClient masterClient, AlluxioConfiguration conf)
ClientMasterSync
.appId
- the application id to send with metricsmasterClient
- the master clientconf
- Alluxio configurationCopyright © 2023. All Rights Reserved.