public interface LlapMetricsListener
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.hadoop.conf.Configuration conf,
LlapRegistryService registry)
Initializing the listener with the current configuration.
|
void |
newClusterMetrics(Map<String,LlapMetricsCollector.LlapMetrics> newMetrics)
Handler will be called when new data is arrived for every active Llap Daemon in the cluster.
|
void |
newDaemonMetrics(String workerIdentity,
LlapMetricsCollector.LlapMetrics newMetrics)
Handler will be called when new Llap Daemon metrics data is arrived.
|
void init(org.apache.hadoop.conf.Configuration conf,
LlapRegistryService registry)
conf - The configurationregistry - The Llap registry service to access the Llap Daemonsvoid newDaemonMetrics(String workerIdentity, LlapMetricsCollector.LlapMetrics newMetrics)
workerIdentity - The worker identity of the Llap DaemonnewMetrics - The new metrics objectvoid newClusterMetrics(Map<String,LlapMetricsCollector.LlapMetrics> newMetrics)
newMetrics - The map of the worker indentity -> metricsCopyright © 2024 The Apache Software Foundation. All rights reserved.