Interface DiscoveryServiceProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

public interface DiscoveryServiceProvider
The DiscoveryServiceProvider interface provides the possibility to build DiscoveryServices. DiscoveryService implementations should be immutable and therefore the provider is introduced to provide this ability. Every service should have its own provider, however in rare cases a single provider might create different DiscoveryService implementations based on the provided DiscoveryMode or other configuration details.
  • Method Details

    • newDiscoveryService

      DiscoveryService newDiscoveryService​(DiscoveryServiceSettings settings)
      Instantiates a new instance of the DiscoveryService.
      settings - The settings to pass to creation of the DiscoveryService
      a new instance of the discovery service