public class ClusterMonitor extends Object implements AutoCloseable, Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
downloadTo(File localPath) |
void |
downloadTo(Path localPath) |
boolean |
isMonitoringRunning(HardwareMetric metric) |
void |
processMetrics(BiConsumer<String,TransportableFile> processor) |
ClusterMonitor |
startOnAll() |
ClusterMonitor |
stopOnAll() |
public ClusterMonitor startOnAll()
public ClusterMonitor stopOnAll()
public void downloadTo(File localPath)
public void downloadTo(Path localPath)
public void processMetrics(BiConsumer<String,TransportableFile> processor)
public boolean isMonitoringRunning(HardwareMetric metric)
public void close()
close in interface AutoCloseableCopyright © 2024. All rights reserved.