public interface MetricsMaster extends Master
Modifier and Type | Method and Description |
---|---|
void |
clientHeartbeat(String clientId,
String hostname,
List<Metric> metrics)
Handles the client's heartbeat request for metrics collection.
|
MetricsMasterClientServiceHandler |
getMasterServiceHandler() |
void |
workerHeartbeat(String hostname,
List<Metric> metrics)
Handles the worker heartbeat and puts the metrics from an instance with a hostname.
|
createJournalContext
applyAndJournal, processJournalEntry, resetState, restoreFromCheckpoint, writeToCheckpoint
getCheckpointName
getJournalEntryIterator
close, getDependencies, getName, getServices, start, stop
void clientHeartbeat(String clientId, String hostname, List<Metric> metrics)
clientId
- the client idhostname
- the client hostnamemetrics
- client-side metricsMetricsMasterClientServiceHandler getMasterServiceHandler()
void workerHeartbeat(String hostname, List<Metric> metrics)
hostname
- the hostname of the instancemetrics
- the new worker metricsCopyright © 2023. All Rights Reserved.