public class DirectoryScannerActor extends Actor implements DirectoryScanner
| Constructor and Description |
|---|
DirectoryScannerActor(io.vlingo.xoom.actors.Directory directory) |
| Modifier and Type | Method and Description |
|---|---|
<T> io.vlingo.xoom.common.Completes<T> |
actorOf(Class<T> protocol,
Address address)
Answer the
protocol reference of the actor with address as a
Completes<T> eventual outcome, or null as a Completes<T>
eventual outcome if not found. |
<T> io.vlingo.xoom.common.Completes<T> |
actorOf(Class<T> protocol,
Address address,
Definition definition)
Answers the
Completes<T> that will eventually complete with the T protocol
of the backing Actor of the given address, or a new Actor instance
of the type and definition. |
<T> io.vlingo.xoom.common.Completes<Optional<T>> |
maybeActorOf(Class<T> protocol,
Address address)
Answer the
protocol reference of the actor with address as a non-empty
Completes<Optional<T>> eventual outcome, or an empty Optional if not found. |
address, afterRestart, afterStop, answerFrom, beforeRestart, beforeResume, beforeStart, childActorFor, childActorFor, completableFuture, completes, completesEventually, conclude, deadLetters, definition, disperseStowedMessages, equals, future, hashCode, isStopped, logger, parentAs, scheduler, secure, selfAs, stage, stageNamed, start, stateSnapshot, stateSnapshot, stop, stowMessages, toString, viewTestState, viewTestStateInitializationpublic DirectoryScannerActor(io.vlingo.xoom.actors.Directory directory)
public <T> io.vlingo.xoom.common.Completes<T> actorOf(Class<T> protocol, Address address)
DirectoryScannerprotocol reference of the actor with address as a
Completes<T> eventual outcome, or null as a Completes<T>
eventual outcome if not found.actorOf in interface DirectoryScannerT - the protocol typeprotocol - the Class<T> of the protocol that the actor must supportaddress - the Address of the actor to findCompletes<T>public <T> io.vlingo.xoom.common.Completes<T> actorOf(Class<T> protocol, Address address, Definition definition)
DirectoryScannerCompletes<T> that will eventually complete with the T protocol
of the backing Actor of the given address, or a new Actor instance
of the type and definition.actorOf in interface DirectoryScannerT - the protocol typeprotocol - the Class<T> protocol supported by the backing Actoraddress - the Address of the Actor to find and to create the new Actor with if not founddefinition - the Definition providing parameters to the ActorCompletes<T>public <T> io.vlingo.xoom.common.Completes<Optional<T>> maybeActorOf(Class<T> protocol, Address address)
DirectoryScannerprotocol reference of the actor with address as a non-empty
Completes<Optional<T>> eventual outcome, or an empty Optional if not found.maybeActorOf in interface DirectoryScannerT - the protocol typeprotocol - the Class<T> of the protocol that the actor must supportaddress - the Address of the actor to findCompletes<Optional<T>>Copyright © 2021. All rights reserved.