public class AwsDiscoveryStrategy extends AbstractDiscoveryStrategy
DiscoveryStrategy
.AWSClient
Constructor and Description |
---|
AwsDiscoveryStrategy(Map<String,Comparable> properties) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
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, getProperties, start
public AwsDiscoveryStrategy(Map<String,Comparable> properties)
public Map<String,Object> discoverLocalMetadata()
DiscoveryStrategy
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
Copyright © 2019 Hazelcast, Inc.. All rights reserved.