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()
NodeStatistics
getNodeID
in interface NodeStatistics
public String getHost()
NodeStatistics
getHost
in interface NodeStatistics
public JobInformation getJobInformation()
NodeStatistics
getJobInformation
in interface NodeStatistics
public StatisticsMap getStatistics()
getStatistics
in interface NodeStatistics
public NodeStatistics finalSnapshot()
finalSnapshot
in interface NodeStatistics
public WorkerRole getWorkerRole()
getWorkerRole
in interface NodeStatistics
public ResourceAllocation getAllocatedResources()
getAllocatedResources
in interface NodeStatistics
Copyright © 2021 Actian Corporation. All rights reserved.