|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.actor.ActorRef akka.actor.InternalActorRef akka.actor.VirtualPathContainer
public class VirtualPathContainer
Internal implementation detail used for paths like “/temp”
INTERNAL API
Constructor Summary | |
---|---|
VirtualPathContainer(ActorRefProvider provider,
ActorPath path,
InternalActorRef getParent,
LoggingAdapter log)
|
Method Summary | |
---|---|
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. |
Methods inherited from class akka.actor.InternalActorRef |
---|
isLocal, isTerminated, restart, resume, sendSystemMessage, start, stop, suspend |
Methods inherited from class akka.actor.ActorRef |
---|
compareTo, equals, forward, hashCode, noSender, tell, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface akka.actor.MinimalActorRef |
---|
isTerminated, restart, resume, sendSystemMessage, start, stop, suspend, writeReplace |
Methods inherited from interface akka.actor.LocalRef |
---|
isLocal |
Constructor Detail |
---|
public VirtualPathContainer(ActorRefProvider provider, ActorPath path, InternalActorRef getParent, LoggingAdapter log)
Method Detail |
---|
public ActorRefProvider provider()
InternalActorRef
provider
in class InternalActorRef
public ActorPath path()
ActorRef
path
in class ActorRef
public InternalActorRef getParent()
InternalActorRef
getParent
in interface MinimalActorRef
getParent
in class InternalActorRef
public 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)
InternalActorRef
getChild
in interface MinimalActorRef
getChild
in class InternalActorRef
name
- (undocumented)
public boolean hasChildren()
public void foreachChild(scala.Function1<ActorRef,scala.runtime.BoxedUnit> f)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |