akka.actor.dungeon
Class ChildrenContainer.NormalChildrenContainer
java.lang.Object
akka.actor.dungeon.ChildrenContainer.NormalChildrenContainer
- All Implemented Interfaces:
- ChildrenContainer
- Enclosing interface:
- ChildrenContainer
public static class ChildrenContainer.NormalChildrenContainer
- extends java.lang.Object
- implements ChildrenContainer
Normal children container: we do have at least one child, but none of our
children are currently terminating (which is the time period between
calling context.stop(child) and processing the ChildTerminated() system
message).
Nested classes/interfaces inherited from interface akka.actor.dungeon.ChildrenContainer |
ChildrenContainer.ChildrenIterable, ChildrenContainer.ChildRestartsIterable, ChildrenContainer.Creation, ChildrenContainer.Creation$, ChildrenContainer.EmptyChildrenContainer, ChildrenContainer.EmptyChildrenContainer$, ChildrenContainer.NormalChildrenContainer, ChildrenContainer.NormalChildrenContainer$, ChildrenContainer.Recreation, ChildrenContainer.Recreation$, ChildrenContainer.SuspendReason, ChildrenContainer.TerminatedChildrenContainer$, ChildrenContainer.TerminatingChildrenContainer, ChildrenContainer.TerminatingChildrenContainer$, ChildrenContainer.Termination$, ChildrenContainer.UserRequest$, ChildrenContainer.WaitingForChildren |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChildrenContainer.NormalChildrenContainer
public ChildrenContainer.NormalChildrenContainer(scala.collection.immutable.TreeMap<java.lang.String,ChildStats> c)
c
public scala.collection.immutable.TreeMap<java.lang.String,ChildStats> c()
add
public ChildrenContainer add(java.lang.String name,
ChildRestartStats stats)
- Specified by:
add
in interface ChildrenContainer
remove
public ChildrenContainer remove(ActorRef child)
- Specified by:
remove
in interface ChildrenContainer
getByName
public scala.Option<ChildStats> getByName(java.lang.String name)
- Specified by:
getByName
in interface ChildrenContainer
getByRef
public scala.Option<ChildRestartStats> getByRef(ActorRef actor)
- Specified by:
getByRef
in interface ChildrenContainer
children
public scala.collection.immutable.Iterable<ActorRef> children()
- Specified by:
children
in interface ChildrenContainer
stats
public scala.collection.immutable.Iterable<ChildRestartStats> stats()
- Specified by:
stats
in interface ChildrenContainer
shallDie
public ChildrenContainer shallDie(ActorRef actor)
- Specified by:
shallDie
in interface ChildrenContainer
reserve
public ChildrenContainer reserve(java.lang.String name)
- Specified by:
reserve
in interface ChildrenContainer
unreserve
public ChildrenContainer unreserve(java.lang.String name)
- Specified by:
unreserve
in interface ChildrenContainer
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object