Class MulticastDiscoveryStrategyFactory
java.lang.Object
com.hazelcast.spi.discovery.multicast.MulticastDiscoveryStrategyFactory
- All Implemented Interfaces:
- DiscoveryStrategyFactory
Factory class which returns 
MulticastDiscoveryStrategy to Discovery SPI- 
Nested Class SummaryNested classes/interfaces inherited from interface com.hazelcast.spi.discovery.DiscoveryStrategyFactoryDiscoveryStrategyFactory.DiscoveryStrategyLevel
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a set of the expected configuration properties.Class<? extends DiscoveryStrategy>Returns the type of theDiscoveryStrategyitself.newDiscoveryStrategy(DiscoveryNode discoveryNode, ILogger logger, Map<String, Comparable> prop) Instantiates a new instance of theDiscoveryStrategywith the given configuration properties.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hazelcast.spi.discovery.DiscoveryStrategyFactorydiscoveryStrategyLevel, isAutoDetectionApplicable
- 
Constructor Details- 
MulticastDiscoveryStrategyFactorypublic MulticastDiscoveryStrategyFactory()
 
- 
- 
Method Details- 
getDiscoveryStrategyTypeDescription copied from interface:DiscoveryStrategyFactoryReturns the type of theDiscoveryStrategyitself.- Specified by:
- getDiscoveryStrategyTypein interface- DiscoveryStrategyFactory
- Returns:
- the type of the discovery strategy
 
- 
newDiscoveryStrategypublic DiscoveryStrategy newDiscoveryStrategy(DiscoveryNode discoveryNode, ILogger logger, Map<String, Comparable> prop) Description copied from interface:DiscoveryStrategyFactoryInstantiates a new instance of theDiscoveryStrategywith the given configuration properties. The providedHazelcastInstancecan be used to register instances in a service registry whenever the discovery strategy is started.- Specified by:
- newDiscoveryStrategyin interface- DiscoveryStrategyFactory
- Parameters:
- discoveryNode- the current local- DiscoveryNode, representing the local connection information if running on a Hazelcast member, otherwise on Hazelcast clients always- null
- logger- the logger instance
- prop- the properties parsed from the configuration
- Returns:
- a new instance of the discovery strategy
 
- 
getConfigurationPropertiesDescription copied from interface:DiscoveryStrategyFactoryReturns a set of the expected configuration properties. These properties contain information about the value type of the property, if it is required and a possible validator to automatically test and convert values from the XML configuration.- Specified by:
- getConfigurationPropertiesin interface- DiscoveryStrategyFactory
- Returns:
- a set of expected configuration properties
 
 
-