Package org.apache.pekko.actor
Class ChildRestartStats
- java.lang.Object
-
- org.apache.pekko.actor.ChildRestartStats
-
- All Implemented Interfaces:
java.io.Serializable
,ChildStats
,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 Summary
Constructors Constructor Description ChildRestartStats(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
$lessinit$greater$default$2()
static long
$lessinit$greater$default$3()
static ChildRestartStats
apply(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos)
static int
apply$default$2()
static long
apply$default$3()
boolean
canEqual(java.lang.Object x$1)
ActorRef
child()
ChildRestartStats
copy(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos)
ActorRef
copy$default$1()
int
copy$default$2()
long
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
int
maxNrOfRetriesCount()
void
maxNrOfRetriesCount_$eq(int x$1)
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
boolean
requestRestartPermission(scala.Tuple2<scala.Option<java.lang.Object>,scala.Option<java.lang.Object>> retriesWindow)
long
restartTimeWindowStartNanos()
void
restartTimeWindowStartNanos_$eq(long x$1)
java.lang.String
toString()
int
uid()
static scala.Option<scala.Tuple3<ActorRef,java.lang.Object,java.lang.Object>>
unapply(ChildRestartStats x$0)
-
-
-
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)
-
child
public ActorRef 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
public boolean requestRestartPermission(scala.Tuple2<scala.Option<java.lang.Object>,scala.Option<java.lang.Object>> retriesWindow)
-
copy
public ChildRestartStats copy(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos)
-
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 interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-