public class AkkaDiscoveryServiceLocator extends CircuitBreakingServiceLocator
ServiceLocator.| Constructor and Description |
|---|
AkkaDiscoveryServiceLocator(CircuitBreakersPanel circuitBreakersPanel,
akka.actor.ActorSystem actorSystem) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Optional<URI>> |
locate(String name,
Descriptor.Call<?,?> serviceCall)
Locate a service's URI for the given name.
|
CompletionStage<List<URI>> |
locateAll(String name,
Descriptor.Call<?,?> serviceCall)
Locate the service's URIs for the given name.
|
doWithServiceequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlocate, locateAll@Inject public AkkaDiscoveryServiceLocator(CircuitBreakersPanel circuitBreakersPanel, akka.actor.ActorSystem actorSystem)
public CompletionStage<List<URI>> locateAll(String name, Descriptor.Call<?,?> serviceCall)
ServiceLocatorname - The name of the service.serviceCall - The service call descriptor that this lookup is for.public CompletionStage<Optional<URI>> locate(String name, Descriptor.Call<?,?> serviceCall)
ServiceLocatorname - The name of the service.serviceCall - The service call descriptor that this lookup is for.