Package akka.discovery
Class Discovery
- java.lang.Object
- 
- akka.discovery.Discovery
 
- 
- 
Constructor SummaryConstructors Constructor Description Discovery(ExtendedActorSystem system)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Discoveryapply(ActorSystem system)static DiscoverycreateExtension(ExtendedActorSystem system)ServiceDiscoverydiscovery()DefaultServiceDiscoveryas configured inakka.discovery.method.static booleanequals(java.lang.Object other)static Discoveryget(ActorSystem system)static Discoveryget(ClassicActorSystemProvider system)static inthashCode()ServiceDiscoveryloadServiceDiscovery(java.lang.String method)Create aServiceDiscoveryfrom configuration property.static Discovery$lookup()
 
- 
- 
- 
Constructor Detail- 
Discoverypublic Discovery(ExtendedActorSystem system) 
 
- 
 - 
Method Detail- 
applypublic static Discovery apply(ActorSystem system) 
 - 
lookuppublic static Discovery$ lookup() 
 - 
getpublic static Discovery get(ActorSystem system) 
 - 
getpublic static Discovery get(ClassicActorSystemProvider system) 
 - 
createExtensionpublic static Discovery createExtension(ExtendedActorSystem system) 
 - 
hashCodepublic static final int hashCode() 
 - 
equalspublic static final boolean equals(java.lang.Object other) 
 - 
discoverypublic ServiceDiscovery discovery() throws java.lang.IllegalArgumentException DefaultServiceDiscoveryas configured inakka.discovery.method.- Throws:
- java.lang.IllegalArgumentException
 
 - 
loadServiceDiscoverypublic ServiceDiscovery loadServiceDiscovery(java.lang.String method) Create aServiceDiscoveryfrom configuration property. The givenmethodparameter 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.
 
- 
 
-