- 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 NodeStatisticsSnapshotcaptureThisJVM(String nodeID, String host, JobServerInformation jobWorkerInfo, List<RuntimeStatistic<?>> additionalStats)NodeStatisticsfinalSnapshot()ResourceAllocationgetAllocatedResources()StringgetHost()Get the name of the host running the master/worker container.JobInformationgetJobInformation()Returns the job information for the job that running in this nodeStringgetNodeID()Physical node idStatisticsMapgetStatistics()WorkerRolegetWorkerRole()
-
-
-
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:NodeStatisticsPhysical node id- Specified by:
getNodeIDin interfaceNodeStatistics- Returns:
-
getHost
public String getHost()
Description copied from interface:NodeStatisticsGet the name of the host running the master/worker container.- Specified by:
getHostin interfaceNodeStatistics- Returns:
- host name
-
getJobInformation
public JobInformation getJobInformation()
Description copied from interface:NodeStatisticsReturns the job information for the job that running in this node- Specified by:
getJobInformationin interfaceNodeStatistics- Returns:
-
getStatistics
public StatisticsMap getStatistics()
- Specified by:
getStatisticsin interfaceNodeStatistics
-
finalSnapshot
public NodeStatistics finalSnapshot()
- Specified by:
finalSnapshotin interfaceNodeStatistics
-
getWorkerRole
public WorkerRole getWorkerRole()
- Specified by:
getWorkerRolein interfaceNodeStatistics
-
getAllocatedResources
public ResourceAllocation getAllocatedResources()
- Specified by:
getAllocatedResourcesin interfaceNodeStatistics
-
-