Package org.apache.pekko.actor
Class ChildRestartStats
java.lang.Object
org.apache.pekko.actor.ChildRestartStats
- All Implemented Interfaces:
Serializable,ChildStats,scala.Equals,scala.Product
public final class ChildRestartStats
extends Object
implements ChildStats, scala.Product, 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:
-
Constructor Summary
ConstructorsConstructorDescriptionChildRestartStats(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos) -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic longstatic ChildRestartStatsstatic intstatic longbooleanchild()intlongbooleaninthashCode()intvoidmaxNrOfRetriesCount_$eq(int x$1) intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>booleanrequestRestartPermission(scala.Tuple2<scala.Option<Object>, scala.Option<Object>> retriesWindow) longvoidrestartTimeWindowStartNanos_$eq(long x$1) toString()intuid()unapply(ChildRestartStats x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ChildRestartStats
-
-
Method Details
-
$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
-
child
-
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
-
copy
public ChildRestartStats copy(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos) -
copy$default$1
-
copy$default$2
public int copy$default$2() -
copy$default$3
public long copy$default$3() -
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-