final class Discovery extends Extension
Ordering
- Alphabetic
- By Inheritance
Inherited
- Discovery
- Extension
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Discovery()(implicit system: ExtendedActorSystem)
Value Members
-
def
discovery: ServiceDiscovery
Default ServiceDiscovery as configured in
akka.discovery.method.Default ServiceDiscovery as configured in
akka.discovery.method.- Annotations
- @throws( ... )
-
def
loadServiceDiscovery(method: String): ServiceDiscovery
Create a ServiceDiscovery from configuration property.
Create a ServiceDiscovery from configuration property. The given
methodparameter is used to find configuration property "akka.discovery.[method].class".The
ServiceDiscoveryinstance for a givenmethodwill be created once and subsequent requests for the samemethodwill return the same instance.