public class VirtualPathContainer extends InternalActorRef implements MinimalActorRef
INTERNAL API
Constructor and Description |
---|
VirtualPathContainer(ActorRefProvider provider,
ActorPath path,
InternalActorRef getParent,
MarkerLoggingAdapter log) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(java.lang.String name,
InternalActorRef ref) |
void |
foreachChild(scala.Function1<ActorRef,scala.runtime.BoxedUnit> f) |
InternalActorRef |
getChild(scala.collection.Iterator<java.lang.String> name)
Obtain ActorRef by possibly traversing the actor tree or looking it up at
some provider-specific location.
|
InternalActorRef |
getChild(java.lang.String name) |
InternalActorRef |
getParent()
Obtain parent of this ref; used by getChild for ".." paths.
|
boolean |
hasChildren() |
MarkerLoggingAdapter |
log() |
ActorPath |
path()
Returns the path for this actor (from this actor up to the root actor).
|
ActorRefProvider |
provider()
Get a reference to the actor ref provider which created this ref.
|
void |
removeChild(java.lang.String name) |
protected void |
removeChild(java.lang.String name,
ActorRef ref)
Remove a named child if it matches the ref.
|
isLocal, isTerminated, restart, resume, sendSystemMessage, start, stop, suspend
compareTo, equals, forward, hashCode, noSender, tell, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isTerminated, restart, resume, sendSystemMessage, start, stop, suspend, writeReplace
public VirtualPathContainer(ActorRefProvider provider, ActorPath path, InternalActorRef getParent, MarkerLoggingAdapter log)
public ActorRefProvider provider()
InternalActorRef
provider
in class InternalActorRef
public ActorPath path()
ActorRef
public InternalActorRef getParent()
InternalActorRef
getParent
in interface MinimalActorRef
getParent
in class InternalActorRef
public MarkerLoggingAdapter log()
public void addChild(java.lang.String name, InternalActorRef ref)
public void removeChild(java.lang.String name)
protected void removeChild(java.lang.String name, ActorRef ref)
name
- (undocumented)ref
- (undocumented)public InternalActorRef getChild(java.lang.String name)
public InternalActorRef getChild(scala.collection.Iterator<java.lang.String> name)
InternalActorRef
getChild
in interface MinimalActorRef
getChild
in class InternalActorRef
name
- (undocumented)public boolean hasChildren()
public void foreachChild(scala.Function1<ActorRef,scala.runtime.BoxedUnit> f)