public class MulticastDiscoveryStrategyFactory extends Object implements DiscoveryStrategyFactory
MulticastDiscoveryStrategy to Discovery SPIDiscoveryStrategyFactory.DiscoveryStrategyLevel| Constructor and Description |
|---|
MulticastDiscoveryStrategyFactory() |
| Modifier and Type | Method and Description |
|---|---|
Collection<PropertyDefinition> |
getConfigurationProperties()
Returns a set of the expected configuration properties.
|
Class<? extends DiscoveryStrategy> |
getDiscoveryStrategyType()
Returns the type of the
DiscoveryStrategy itself. |
DiscoveryStrategy |
newDiscoveryStrategy(DiscoveryNode discoveryNode,
ILogger logger,
Map<String,Comparable> prop)
Instantiates a new instance of the
DiscoveryStrategy with the given configuration
properties. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdiscoveryStrategyLevel, isAutoDetectionApplicablepublic Class<? extends DiscoveryStrategy> getDiscoveryStrategyType()
DiscoveryStrategyFactoryDiscoveryStrategy itself.getDiscoveryStrategyType in interface DiscoveryStrategyFactorypublic DiscoveryStrategy newDiscoveryStrategy(DiscoveryNode discoveryNode, ILogger logger, Map<String,Comparable> prop)
DiscoveryStrategyFactoryDiscoveryStrategy with the given configuration
properties. The provided HazelcastInstance can be used to register instances in
a service registry whenever the discovery strategy is started.newDiscoveryStrategy in interface DiscoveryStrategyFactorydiscoveryNode - the current local DiscoveryNode, representing the local
connection information if running on a Hazelcast member, otherwise on
Hazelcast clients always nulllogger - the logger instanceprop - the properties parsed from the configurationpublic Collection<PropertyDefinition> getConfigurationProperties()
DiscoveryStrategyFactorygetConfigurationProperties in interface DiscoveryStrategyFactoryCopyright © 2020 Hazelcast, Inc.. All rights reserved.