Package akka.remote

Class HeartbeatHistory$

  • All Implemented Interfaces:
    java.io.Serializable, scala.Serializable

    public class HeartbeatHistory$
    extends java.lang.Object
    implements scala.Serializable
    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.
    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
      HeartbeatHistory apply​(int maxSampleSize)  
      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​(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 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.

        Parameters:
        maxSampleSize - (undocumented)
        intervals - (undocumented)
        intervalSum - (undocumented)
        squaredIntervalSum - (undocumented)
        Returns:
        (undocumented)
      • unapply

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