Package akka.remote

Class HeartbeatHistory$

  • All Implemented Interfaces:
    java.io.Serializable

    public class HeartbeatHistory$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static HeartbeatHistory$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.remote.HeartbeatHistory apply​(int maxSampleSize)
      Create an empty HeartbeatHistory, without any history.
      akka.remote.HeartbeatHistory apply​(int maxSampleSize, scala.collection.immutable.IndexedSeq<java.lang.Object> intervals, long intervalSum, long squaredIntervalSum)
      Holds the heartbeat statistics for a specific node Address.
      scala.Option<scala.Tuple4<java.lang.Object,​scala.collection.immutable.IndexedSeq<java.lang.Object>,​java.lang.Object,​java.lang.Object>> unapply​(akka.remote.HeartbeatHistory x$0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final HeartbeatHistory$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • HeartbeatHistory$

        public HeartbeatHistory$()
    • Method Detail

      • apply

        public akka.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 akka.remote.HeartbeatHistory apply​(int maxSampleSize,
                                                  scala.collection.immutable.IndexedSeq<java.lang.Object> intervals,
                                                  long intervalSum,
                                                  long squaredIntervalSum)
        Holds the heartbeat statistics for a specific node Address. It is capped by the number of samples specified in maxSampleSize.

        The stats (mean, variance, stdDeviation) are not defined for for empty HeartbeatHistory, i.e. throws ArithmeticException.

      • unapply

        public scala.Option<scala.Tuple4<java.lang.Object,​scala.collection.immutable.IndexedSeq<java.lang.Object>,​java.lang.Object,​java.lang.Object>> unapply​(akka.remote.HeartbeatHistory x$0)