public interface DirectoryScanner
| 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. |
<T> io.vlingo.xoom.common.Completes<T> actorOf(Class<T> protocol, Address address)
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 - the protocol typeprotocol - the Class<T> of the protocol that the actor must supportaddress - the Address of the actor to findCompletes<T><T> io.vlingo.xoom.common.Completes<T> actorOf(Class<T> protocol, Address address, Definition definition)
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 - 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><T> io.vlingo.xoom.common.Completes<Optional<T>> maybeActorOf(Class<T> protocol, Address address)
protocol reference of the actor with address as a non-empty
Completes<Optional<T>> eventual outcome, or an empty Optional if not found.T - 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.