akka.actor
Class ChildRestartStats
java.lang.Object
akka.actor.ChildRestartStats
- All Implemented Interfaces:
- ChildStats, java.io.Serializable, scala.Equals, scala.Product
public class ChildRestartStats
- extends java.lang.Object
- implements ChildStats, scala.Product, scala.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
ChildRestartStats
public ChildRestartStats(ActorRef child,
int maxNrOfRetriesCount,
long restartTimeWindowStartNanos)
child
public ActorRef child()
maxNrOfRetriesCount
public int maxNrOfRetriesCount()
restartTimeWindowStartNanos
public long restartTimeWindowStartNanos()
uid
public int uid()
requestRestartPermission
public boolean requestRestartPermission(scala.Tuple2<scala.Option<java.lang.Object>,scala.Option<java.lang.Object>> retriesWindow)