public class CpuMetricSender extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
static char |
DELIMITER |
Constructor and Description |
---|
CpuMetricSender(String serverHostIp,
int serverPort,
java.time.Duration interval) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static List<Integer> |
getTaskManagerPidList() |
static void |
main(String[] args) |
void |
startClient() |
public static final char DELIMITER
public CpuMetricSender(String serverHostIp, int serverPort, java.time.Duration interval)
public void close() throws Exception
close
in interface AutoCloseable
Exception
public static List<Integer> getTaskManagerPidList() throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.