public interface MetricsMasterClient extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
clearMetrics()
Clear the master metrics.
|
Map<String,MetricValue> |
getMetrics()
Gets all the metrics stored in the current master from metric name to metric value.
|
void |
heartbeat(List<ClientMetrics> metrics)
The method the worker should periodically execute to heartbeat back to the master.
|
void clearMetrics() throws IOException
IOException
void heartbeat(List<ClientMetrics> metrics) throws IOException
metrics
- a list of client metricsIOException
Map<String,MetricValue> getMetrics() throws AlluxioStatusException
AlluxioStatusException
Copyright © 2023. All Rights Reserved.