public class VirtualPathContainer extends InternalActorRef implements MinimalActorRef
INTERNAL API
| Constructor and Description |
|---|
VirtualPathContainer(ActorRefProvider provider,
ActorPath path,
InternalActorRef getParent,
LoggingAdapter 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() |
LoggingAdapter |
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, suspendcompareTo, equals, forward, hashCode, noSender, tell, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisTerminated, restart, resume, sendSystemMessage, start, stop, suspend, writeReplacepublic VirtualPathContainer(ActorRefProvider provider, ActorPath path, InternalActorRef getParent, LoggingAdapter log)
public ActorRefProvider provider()
InternalActorRefprovider in class InternalActorRefpublic ActorPath path()
ActorRefpublic InternalActorRef getParent()
InternalActorRefgetParent in interface MinimalActorRefgetParent in class InternalActorRefpublic LoggingAdapter 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)
InternalActorRefgetChild in interface MinimalActorRefgetChild in class InternalActorRefname - (undocumented)public boolean hasChildren()
public void foreachChild(scala.Function1<ActorRef,scala.runtime.BoxedUnit> f)