Class NodeHeartbeatSample
java.lang.Object
org.apache.iotdb.confignode.manager.load.cache.AbstractHeartbeatSample
org.apache.iotdb.confignode.manager.load.cache.node.NodeHeartbeatSample
NodeHeartbeatSample records the heartbeat sample of a Node.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeHeartbeatSample(long sampleNanoTimestamp, NodeStatus status) Constructor for generating default sample with specified status and timestampNodeHeartbeatSample(TAIHeartbeatResp heartbeatResp) Constructor for AINode sample.NodeHeartbeatSample(NodeStatus status) Constructor for generating default sample with specified statusNodeHeartbeatSample(TConfigNodeHeartbeatResp heartbeatResp) Constructor for ConfigNode sample.NodeHeartbeatSample(TDataNodeHeartbeatResp heartbeatResp) Constructor for DataNode sample. -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class org.apache.iotdb.confignode.manager.load.cache.AbstractHeartbeatSample
getSampleLogicalTimestamp
-
Constructor Details
-
NodeHeartbeatSample
Constructor for generating default sample with specified status -
NodeHeartbeatSample
Constructor for generating default sample with specified status and timestamp -
NodeHeartbeatSample
Constructor for DataNode sample. -
NodeHeartbeatSample
Constructor for AINode sample. -
NodeHeartbeatSample
Constructor for ConfigNode sample.
-
-
Method Details
-
getStatus
-
getStatusReason
-
isSetLoadSample
public boolean isSetLoadSample() -
getLoadSample
-