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