akka.actor
Class ChildRestartStats

java.lang.Object
  extended by 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

Constructor Summary
ChildRestartStats(ActorRef child, int maxNrOfRetriesCount, long restartTimeWindowStartNanos)
           
 
Method Summary
 ActorRef child()
           
 int maxNrOfRetriesCount()
           
 boolean requestRestartPermission(scala.Tuple2<scala.Option<java.lang.Object>,scala.Option<java.lang.Object>> retriesWindow)
           
 long restartTimeWindowStartNanos()
           
 int uid()
           
 
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
 

Constructor Detail

ChildRestartStats

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

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)