@FunctionalInterface public interface DiscoveryServiceProvider
DiscoveryServiceProvider
interface provides the possibility to build DiscoveryService
s.
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.Modifier and Type | Method and Description |
---|---|
DiscoveryService |
newDiscoveryService(DiscoveryServiceSettings settings)
Instantiates a new instance of the
DiscoveryService . |
DiscoveryService newDiscoveryService(DiscoveryServiceSettings settings)
DiscoveryService
.settings
- The settings to pass to creation of the DiscoveryService
Copyright © 2024 Hazelcast, Inc.. All rights reserved.