public class MulticastDiscoveryStrategy extends AbstractDiscoveryStrategy
DiscoveryStrategy.| Constructor and Description | 
|---|
| MulticastDiscoveryStrategy(DiscoveryNode discoveryNode,
                          ILogger logger,
                          Map<String,Comparable> properties) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | destroy()The  stopmethod is used to stop internal services, sockets or to destroy any
 kind of internal state. | 
| Iterable<DiscoveryNode> | discoverNodes()Returns a set of all discovered nodes based on the defined properties that were used
 to create the  DiscoveryStrategyinstance. | 
| PartitionGroupStrategy | getPartitionGroupStrategy() | 
| void | start()The  startmethod is used to initialize internal state and perform any kind of
 startup procedure like multicast socket creation. | 
discoverLocalMetadata, getLogger, getOrDefault, getOrDefault, getOrNull, getOrNull, getPartitionGroupStrategy, getPropertiespublic MulticastDiscoveryStrategy(DiscoveryNode discoveryNode, ILogger logger, Map<String,Comparable> properties)
public void start()
DiscoveryStrategystart method is used to initialize internal state and perform any kind of
 startup procedure like multicast socket creation. The behavior of this method might
 change based on the DiscoveryNode instance passed to the DiscoveryStrategyFactory.start in interface DiscoveryStrategystart in class AbstractDiscoveryStrategypublic Iterable<DiscoveryNode> discoverNodes()
DiscoveryStrategyDiscoveryStrategy instance.public void destroy()
DiscoveryStrategystop method is used to stop internal services, sockets or to destroy any
 kind of internal state.destroy in interface DiscoveryStrategydestroy in class AbstractDiscoveryStrategypublic PartitionGroupStrategy getPartitionGroupStrategy()
getPartitionGroupStrategy in interface DiscoveryStrategygetPartitionGroupStrategy in class AbstractDiscoveryStrategyPartitionGroupStrategy otherwise null
 in case of the default implementation is to be usedCopyright © 2022 Hazelcast, Inc.. All rights reserved.