public interface ChildrenContainer
Modifier and Type | Interface and Description |
---|---|
static class |
ChildrenContainer.ChildrenIterable |
static class |
ChildrenContainer.ChildRestartsIterable |
static class |
ChildrenContainer.Creation |
static class |
ChildrenContainer.Creation$ |
static interface |
ChildrenContainer.EmptyChildrenContainer |
static class |
ChildrenContainer.EmptyChildrenContainer$
This is the empty container, shared among all leaf actors.
|
static class |
ChildrenContainer.NormalChildrenContainer
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).
|
static class |
ChildrenContainer.NormalChildrenContainer$ |
static class |
ChildrenContainer.Recreation |
static class |
ChildrenContainer.Recreation$ |
static interface |
ChildrenContainer.SuspendReason |
static class |
ChildrenContainer.TerminatedChildrenContainer$
This is the empty container which is installed after the last child has
terminated while stopping; it is necessary to distinguish from the normal
empty state while calling handleChildTerminated() for the last time.
|
static class |
ChildrenContainer.TerminatingChildrenContainer
Waiting state: there are outstanding termination requests (i.e.
|
static class |
ChildrenContainer.TerminatingChildrenContainer$ |
static class |
ChildrenContainer.Termination$ |
static class |
ChildrenContainer.UserRequest$ |
static interface |
ChildrenContainer.WaitingForChildren |
Modifier and Type | Method and Description |
---|---|
ChildrenContainer |
add(java.lang.String name,
ChildRestartStats stats) |
scala.collection.immutable.Iterable<ActorRef> |
children() |
scala.Option<ChildStats> |
getByName(java.lang.String name) |
scala.Option<ChildRestartStats> |
getByRef(ActorRef actor) |
boolean |
isNormal() |
boolean |
isTerminating() |
ChildrenContainer |
remove(ActorRef child) |
ChildrenContainer |
reserve(java.lang.String name) |
ChildrenContainer |
shallDie(ActorRef actor) |
scala.collection.immutable.Iterable<ChildRestartStats> |
stats() |
ChildrenContainer |
unreserve(java.lang.String name) |
ChildrenContainer add(java.lang.String name, ChildRestartStats stats)
ChildrenContainer remove(ActorRef child)
scala.Option<ChildStats> getByName(java.lang.String name)
scala.Option<ChildRestartStats> getByRef(ActorRef actor)
scala.collection.immutable.Iterable<ActorRef> children()
scala.collection.immutable.Iterable<ChildRestartStats> stats()
ChildrenContainer shallDie(ActorRef actor)
ChildrenContainer reserve(java.lang.String name)
ChildrenContainer unreserve(java.lang.String name)
boolean isTerminating()
boolean isNormal()