public interface MetricsMaster extends Master
| Modifier and Type | Method and Description |
|---|---|
void |
clearMetrics()
Clear metrics in the current master.
|
void |
clientHeartbeat(java.lang.String source,
java.util.List<Metric> metrics)
Handles the client's heartbeat request for metrics collection.
|
MetricsMasterClientServiceHandler |
getMasterServiceHandler() |
java.util.Map<java.lang.String,MetricValue> |
getMetrics() |
void |
workerHeartbeat(java.lang.String source,
java.util.List<Metric> metrics)
Handles the worker heartbeat and puts the metrics from an instance with a source name.
|
createJournalContextapplyAndJournal, processJournalEntry, resetState, restoreFromCheckpoint, writeToCheckpointgetCheckpointNamegetJournalEntryIteratorclose, getDependencies, getName, getServices, start, stopvoid clearMetrics()
void clientHeartbeat(java.lang.String source,
java.util.List<Metric> metrics)
source - the metrics sourcemetrics - client-side metricsMetricsMasterClientServiceHandler getMasterServiceHandler()
java.util.Map<java.lang.String,MetricValue> getMetrics()
void workerHeartbeat(java.lang.String source,
java.util.List<Metric> metrics)
source - the source of the metricsmetrics - the new worker metricsCopyright © 2020. All Rights Reserved.