public class AwsDiscoveryStrategy extends AbstractDiscoveryStrategy
DiscoveryStrategy
.AwsClient
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 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
public Iterable<DiscoveryNode> discoverNodes()
DiscoveryStrategy
DiscoveryStrategy
instance.Copyright © 2023 Hazelcast, Inc.. All rights reserved.