Package io.prestosql.server
Class NodeStatus
- java.lang.Object
-
- io.prestosql.server.NodeStatus
-
public class NodeStatus extends Object
-
-
Constructor Summary
Constructors Constructor Description NodeStatus(String nodeId, NodeVersion nodeVersion, String environment, boolean coordinator, io.airlift.units.Duration uptime, String externalAddress, String internalAddress, MemoryInfo memoryInfo, int processors, double processCpuLoad, double systemCpuLoad, long heapUsed, long heapAvailable, long nonHeapUsed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEnvironment()
String
getExternalAddress()
long
getHeapAvailable()
long
getHeapUsed()
String
getInternalAddress()
MemoryInfo
getMemoryInfo()
String
getNodeId()
NodeVersion
getNodeVersion()
long
getNonHeapUsed()
double
getProcessCpuLoad()
int
getProcessors()
double
getSystemCpuLoad()
io.airlift.units.Duration
getUptime()
boolean
isCoordinator()
-
-
-
Constructor Detail
-
NodeStatus
public NodeStatus(String nodeId, NodeVersion nodeVersion, String environment, boolean coordinator, io.airlift.units.Duration uptime, String externalAddress, String internalAddress, MemoryInfo memoryInfo, int processors, double processCpuLoad, double systemCpuLoad, long heapUsed, long heapAvailable, long nonHeapUsed)
-
-
Method Detail
-
getNodeId
public String getNodeId()
-
getNodeVersion
public NodeVersion getNodeVersion()
-
getEnvironment
public String getEnvironment()
-
isCoordinator
public boolean isCoordinator()
-
getUptime
public io.airlift.units.Duration getUptime()
-
getExternalAddress
public String getExternalAddress()
-
getInternalAddress
public String getInternalAddress()
-
getMemoryInfo
public MemoryInfo getMemoryInfo()
-
getProcessors
public int getProcessors()
-
getProcessCpuLoad
public double getProcessCpuLoad()
-
getSystemCpuLoad
public double getSystemCpuLoad()
-
getHeapUsed
public long getHeapUsed()
-
getHeapAvailable
public long getHeapAvailable()
-
getNonHeapUsed
public long getNonHeapUsed()
-
-