Package akka.actor

Class ChildRestartStats

  • All Implemented Interfaces:
    ChildStats, java.io.Serializable, scala.Equals, scala.Product

    public final class ChildRestartStats
    extends java.lang.Object
    implements ChildStats, scala.Product, java.io.Serializable
    ChildRestartStats is the statistics kept by every parent Actor for every child Actor and is used for SupervisorStrategies to know how to deal with problems that occur for the children.
    See Also:
    Serialized Form
    • Constructor Detail

      • ChildRestartStats

        public ChildRestartStats​(ActorRef child,
                                 int maxNrOfRetriesCount,
                                 long restartTimeWindowStartNanos)
    • Method Detail

      • $lessinit$greater$default$2

        public static int $lessinit$greater$default$2()
      • $lessinit$greater$default$3

        public static long $lessinit$greater$default$3()
      • apply

        public static ChildRestartStats apply​(ActorRef child,
                                              int maxNrOfRetriesCount,
                                              long restartTimeWindowStartNanos)
      • apply$default$2

        public static int apply$default$2()
      • apply$default$3

        public static long apply$default$3()
      • unapply

        public static scala.Option<scala.Tuple3<ActorRef,​java.lang.Object,​java.lang.Object>> unapply​(ChildRestartStats x$0)
      • maxNrOfRetriesCount

        public int maxNrOfRetriesCount()
      • maxNrOfRetriesCount_$eq

        public void maxNrOfRetriesCount_$eq​(int x$1)
      • restartTimeWindowStartNanos

        public long restartTimeWindowStartNanos()
      • restartTimeWindowStartNanos_$eq

        public void restartTimeWindowStartNanos_$eq​(long x$1)
      • uid

        public int uid()
      • requestRestartPermission

        public boolean requestRestartPermission​(scala.Tuple2<scala.Option<java.lang.Object>,​scala.Option<java.lang.Object>> retriesWindow)
      • copy$default$1

        public ActorRef copy$default$1()
      • copy$default$2

        public int copy$default$2()
      • copy$default$3

        public long copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object