public class CpuMetricReceiver extends Object implements Closeable
| Constructor and Description | 
|---|
CpuMetricReceiver(String host,
                 int port)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
int | 
getNumberOfTM()  | 
double | 
getTotalCpu()  | 
static void | 
main(String[] args)  | 
void | 
runServer()  | 
void | 
runServerBlocking()  | 
public CpuMetricReceiver(String host, int port)
public void runServer()
public void runServerBlocking()
public double getTotalCpu()
public int getNumberOfTM()
public void close()
close in interface Closeableclose in interface AutoCloseablepublic static void main(String[] args) throws InterruptedException
InterruptedExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.