public class AzureDiscoveryStrategy extends AbstractDiscoveryStrategy
DiscoveryStrategy
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
discoverLocalMetadata()
Returns a map with discovered metadata provided by the runtime environment.
|
Iterable<DiscoveryNode> |
discoverNodes()
Returns a set of all discovered nodes based on the defined properties that were used
to create the
DiscoveryStrategy instance. |
destroy, getLogger, getOrDefault, getOrDefault, getOrNull, getOrNull, getPartitionGroupStrategy, getPartitionGroupStrategy, getProperties, start
public Iterable<DiscoveryNode> discoverNodes()
DiscoveryStrategy
DiscoveryStrategy
instance.public Map<String,String> discoverLocalMetadata()
DiscoveryStrategy
Information discovered from this method are shaded into the Member
s
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
null
is not permitted and will most probably result in an NullPointerException
inside the cluster system.
discoverLocalMetadata
in interface DiscoveryStrategy
discoverLocalMetadata
in class AbstractDiscoveryStrategy
Copyright © 2023 Hazelcast, Inc.. All rights reserved.