- All Implemented Interfaces:
Method SummaryModifier and TypeMethodDescriptionReturns a map with discovered metadata provided by the runtime environment.Returns a set of all discovered nodes based on the defined properties that were used to create the
Methods inherited from class com.hazelcast.spi.discovery.AbstractDiscoveryStrategy
destroy, getLogger, getOrDefault, getOrDefault, getOrNull, getOrNull, getPartitionGroupStrategy, getPartitionGroupStrategy, getProperties, start
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
discoverLocalMetadataDescription copied from interface:
DiscoveryStrategyReturns a map with discovered metadata provided by the runtime environment. Those information may include, but are not limited, to location information like datacenter, node name or additional tags to be used for custom purpose.
Information discovered from this method are shaded into the
Members attributes. Existing attributes will not be overridden, that way local attribute configuration overrides provided metadata.
The default implementation provides an empty map with no further metadata configured. Returning
nullis not permitted and will most probably result in an
NullPointerExceptioninside the cluster system.
discoverNodesDescription copied from interface:
DiscoveryStrategyReturns a set of all discovered nodes based on the defined properties that were used to create the
- a set of all discovered nodes