类 DataNodeHeartbeatCache
- java.lang.Object
-
- org.apache.iotdb.confignode.manager.node.heartbeat.BaseNodeCache
-
- org.apache.iotdb.confignode.manager.node.heartbeat.DataNodeHeartbeatCache
-
public class DataNodeHeartbeatCache extends BaseNodeCache
DataNodeHeartbeatCache caches and maintains all the heartbeat data
-
-
字段概要
-
从类继承的字段 org.apache.iotdb.confignode.manager.node.heartbeat.BaseNodeCache
currentStatistics, HEARTBEAT_TIMEOUT_TIME, MAXIMUM_WINDOW_SIZE, previousStatistics, slidingWindow
-
-
构造器概要
构造器 构造器 说明 DataNodeHeartbeatCache()Constructor for create DataNodeHeartbeatCache with default NodeStatistics
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 longgetFreeDiskSpace()protected voidupdateCurrentStatistics()Update currentStatistics based on recent NodeHeartbeatSamples that cached in the slidingWindow-
从类继承的方法 org.apache.iotdb.confignode.manager.node.heartbeat.BaseNodeCache
cacheHeartbeatSample, forceUpdate, getLoadScore, getNodeStatus, getNodeStatusWithReason, getStatistics, periodicUpdate
-
-
-
-
方法详细资料
-
updateCurrentStatistics
protected void updateCurrentStatistics()
从类复制的说明:BaseNodeCacheUpdate currentStatistics based on recent NodeHeartbeatSamples that cached in the slidingWindow- 指定者:
updateCurrentStatistics在类中BaseNodeCache
-
getFreeDiskSpace
public long getFreeDiskSpace()
-
-