Package org.apache.pekko.remote
Class HeartbeatHistory$
java.lang.Object
org.apache.pekko.remote.HeartbeatHistory$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HeartbeatHistory$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.remote.HeartbeatHistoryapply(int maxSampleSize) Create an empty HeartbeatHistory, without any history.org.apache.pekko.remote.HeartbeatHistoryapply(int maxSampleSize, scala.collection.immutable.IndexedSeq<Object> intervals, long intervalSum, long squaredIntervalSum) Holds the heartbeat statistics for a specific node Address.unapply(org.apache.pekko.remote.HeartbeatHistory x$0)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
HeartbeatHistory$
public HeartbeatHistory$()
-
-
Method Details
-
apply
public org.apache.pekko.remote.HeartbeatHistory apply(int maxSampleSize) Create an empty HeartbeatHistory, without any history. Can only be used as starting point for appending intervals. The stats (mean, variance, stdDeviation) are not defined for for empty HeartbeatHistory, i.e. throws ArithmeticException. -
apply
public org.apache.pekko.remote.HeartbeatHistory apply(int maxSampleSize, scala.collection.immutable.IndexedSeq<Object> intervals, long intervalSum, long squaredIntervalSum) Holds the heartbeat statistics for a specific node Address. It is capped by the number of samples specified inmaxSampleSize.The stats (mean, variance, stdDeviation) are not defined for for empty HeartbeatHistory, i.e. throws ArithmeticException.
-
unapply
-