- java.lang.Object
-
- com.pervasive.datarush.cal.monitoring.NodeStatisticsSnapshot
-
- All Implemented Interfaces:
NodeStatistics
,Serializable
public final class NodeStatisticsSnapshot extends Object implements NodeStatistics, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.pervasive.datarush.cal.monitoring.NodeStatistics
CATEGORY_JVM
-
-
Constructor Summary
Constructors Constructor Description NodeStatisticsSnapshot(String nodeID, String host, JobServerInformation jobWorkerInfo, StatisticsMap statistics)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 nodeString
getNodeID()
Physical node idStatisticsMap
getStatistics()
WorkerRole
getWorkerRole()
-
-
-
Constructor Detail
-
NodeStatisticsSnapshot
public NodeStatisticsSnapshot(String nodeID, String host, JobServerInformation jobWorkerInfo, StatisticsMap statistics)
-
-
Method Detail
-
captureThisJVM
public static NodeStatisticsSnapshot captureThisJVM(String nodeID, String host, JobServerInformation jobWorkerInfo, List<RuntimeStatistic<?>> additionalStats)
-
getNodeID
public String getNodeID()
Description copied from interface:NodeStatistics
Physical node id- Specified by:
getNodeID
in interfaceNodeStatistics
- Returns:
-
getHost
public String getHost()
Description copied from interface:NodeStatistics
Get the name of the host running the master/worker container.- Specified by:
getHost
in interfaceNodeStatistics
- Returns:
- host name
-
getJobInformation
public JobInformation getJobInformation()
Description copied from interface:NodeStatistics
Returns the job information for the job that running in this node- Specified by:
getJobInformation
in interfaceNodeStatistics
- Returns:
-
getStatistics
public StatisticsMap getStatistics()
- Specified by:
getStatistics
in interfaceNodeStatistics
-
finalSnapshot
public NodeStatistics finalSnapshot()
- Specified by:
finalSnapshot
in interfaceNodeStatistics
-
getWorkerRole
public WorkerRole getWorkerRole()
- Specified by:
getWorkerRole
in interfaceNodeStatistics
-
getAllocatedResources
public ResourceAllocation getAllocatedResources()
- Specified by:
getAllocatedResources
in interfaceNodeStatistics
-
-