public final class NodeStatisticsSnapshot extends Object implements NodeStatistics, Serializable
CATEGORY_JVM| Constructor and Description |
|---|
NodeStatisticsSnapshot(String nodeID,
String host,
JobServerInformation jobWorkerInfo,
StatisticsMap statistics) |
| Modifier and Type | Method and Description |
|---|---|
static NodeStatisticsSnapshot |
captureThisJVM(String nodeID,
String host,
JobServerInformation jobWorkerInfo,
List<RuntimeStatistic<?>> additionalStats) |
NodeStatistics |
finalSnapshot() |
ResourceAllocation |
getAllocatedResources() |
String |
getHost()
Get the name of the host running the master/worker container.
|
JobInformation |
getJobInformation()
Returns the job information for the job that running in this node
|
String |
getNodeID()
Physical node id
|
StatisticsMap |
getStatistics() |
WorkerRole |
getWorkerRole() |
public NodeStatisticsSnapshot(String nodeID, String host, JobServerInformation jobWorkerInfo, StatisticsMap statistics)
public static NodeStatisticsSnapshot captureThisJVM(String nodeID, String host, JobServerInformation jobWorkerInfo, List<RuntimeStatistic<?>> additionalStats)
public String getNodeID()
NodeStatisticsgetNodeID in interface NodeStatisticspublic String getHost()
NodeStatisticsgetHost in interface NodeStatisticspublic JobInformation getJobInformation()
NodeStatisticsgetJobInformation in interface NodeStatisticspublic StatisticsMap getStatistics()
getStatistics in interface NodeStatisticspublic NodeStatistics finalSnapshot()
finalSnapshot in interface NodeStatisticspublic WorkerRole getWorkerRole()
getWorkerRole in interface NodeStatisticspublic ResourceAllocation getAllocatedResources()
getAllocatedResources in interface NodeStatisticsCopyright © 2024 Actian Corporation. All rights reserved.