akka.actor.dungeon
Interface Children
- All Known Implementing Classes:
- ActorCell, ResizablePoolCell, RoutedActorCell
public interface Children
Method Summary |
ChildrenContainer |
_childrenRefsDoNotCallMeDirectly()
|
long |
_nextNameDoNotCallMeDirectly()
|
ActorRef |
actorOf(Props props)
|
ActorRef |
actorOf(Props props,
java.lang.String name)
|
ActorRef |
attachChild(Props props,
boolean systemService)
|
ActorRef |
attachChild(Props props,
java.lang.String name,
boolean systemService)
|
java.lang.String |
checkName(java.lang.String name)
|
scala.Option<ActorRef> |
child(java.lang.String name)
|
scala.collection.immutable.Iterable<ActorRef> |
children()
|
ChildrenContainer |
childrenRefs()
|
scala.collection.immutable.Iterable<ChildRestartStats> |
getAllChildStats()
|
ActorRef |
getChild(java.lang.String name)
|
scala.Option<ChildStats> |
getChildByName(java.lang.String name)
|
scala.Option<ChildRestartStats> |
getChildByRef(ActorRef ref)
|
java.lang.Iterable<ActorRef> |
getChildren()
|
InternalActorRef |
getSingleChild(java.lang.String name)
|
scala.Option<ChildRestartStats> |
initChild(ActorRef ref)
|
boolean |
isNormal()
|
boolean |
isTerminating()
|
ActorRef |
makeChild(ActorCell cell,
Props props,
java.lang.String name,
boolean async,
boolean systemService)
|
java.lang.String |
randomName()
|
scala.Option<ChildrenContainer.SuspendReason> |
removeChildAndGetStateChange(ActorRef child)
|
boolean |
reserveChild(java.lang.String name)
|
void |
resumeChildren(java.lang.Throwable causedByFailure,
ActorRef perp)
|
boolean |
setChildrenTerminationReason(ChildrenContainer.SuspendReason reason)
|
void |
setTerminated()
|
void |
stop(ActorRef actor)
|
void |
suspendChildren(scala.collection.immutable.Set<ActorRef> exceptFor)
|
boolean |
swapChildrenRefs(ChildrenContainer oldChildren,
ChildrenContainer newChildren)
|
boolean |
unreserveChild(java.lang.String name)
|
ChildrenContainer.SuspendReason |
waitingForChildrenOrNull()
|
_childrenRefsDoNotCallMeDirectly
ChildrenContainer _childrenRefsDoNotCallMeDirectly()
childrenRefs
ChildrenContainer childrenRefs()
children
scala.collection.immutable.Iterable<ActorRef> children()
getChildren
java.lang.Iterable<ActorRef> getChildren()
child
scala.Option<ActorRef> child(java.lang.String name)
getChild
ActorRef getChild(java.lang.String name)
actorOf
ActorRef actorOf(Props props)
actorOf
ActorRef actorOf(Props props,
java.lang.String name)
attachChild
ActorRef attachChild(Props props,
boolean systemService)
attachChild
ActorRef attachChild(Props props,
java.lang.String name,
boolean systemService)
_nextNameDoNotCallMeDirectly
long _nextNameDoNotCallMeDirectly()
randomName
java.lang.String randomName()
stop
void stop(ActorRef actor)
swapChildrenRefs
boolean swapChildrenRefs(ChildrenContainer oldChildren,
ChildrenContainer newChildren)
reserveChild
boolean reserveChild(java.lang.String name)
unreserveChild
boolean unreserveChild(java.lang.String name)
initChild
scala.Option<ChildRestartStats> initChild(ActorRef ref)
setChildrenTerminationReason
boolean setChildrenTerminationReason(ChildrenContainer.SuspendReason reason)
setTerminated
void setTerminated()
isNormal
boolean isNormal()
isTerminating
boolean isTerminating()
waitingForChildrenOrNull
ChildrenContainer.SuspendReason waitingForChildrenOrNull()
suspendChildren
void suspendChildren(scala.collection.immutable.Set<ActorRef> exceptFor)
resumeChildren
void resumeChildren(java.lang.Throwable causedByFailure,
ActorRef perp)
getChildByName
scala.Option<ChildStats> getChildByName(java.lang.String name)
getChildByRef
scala.Option<ChildRestartStats> getChildByRef(ActorRef ref)
getAllChildStats
scala.collection.immutable.Iterable<ChildRestartStats> getAllChildStats()
getSingleChild
InternalActorRef getSingleChild(java.lang.String name)
removeChildAndGetStateChange
scala.Option<ChildrenContainer.SuspendReason> removeChildAndGetStateChange(ActorRef child)
checkName
java.lang.String checkName(java.lang.String name)
makeChild
ActorRef makeChild(ActorCell cell,
Props props,
java.lang.String name,
boolean async,
boolean systemService)