Package com.hazelcast.aws
Class AwsDiscoveryStrategy
java.lang.Object
com.hazelcast.spi.discovery.AbstractDiscoveryStrategy
com.hazelcast.aws.AwsDiscoveryStrategy
- All Implemented Interfaces:
DiscoveryStrategy
AWS implementation of
DiscoveryStrategy.- See Also:
-
AwsClient
-
Method Summary
Modifier 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 theDiscoveryStrategyinstance.Methods inherited from class com.hazelcast.spi.discovery.AbstractDiscoveryStrategy
destroy, getLogger, getOrDefault, getOrDefault, getOrNull, getOrNull, getPartitionGroupStrategy, getPartitionGroupStrategy, getProperties, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hazelcast.spi.discovery.DiscoveryStrategy
getUnhealthyEndpoints, markEndpointAsUnhealthy
-
Method Details
-
discoverLocalMetadata
Description 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 anNullPointerExceptioninside the cluster system.- Specified by:
discoverLocalMetadatain interfaceDiscoveryStrategy- Overrides:
discoverLocalMetadatain classAbstractDiscoveryStrategy- Returns:
- a map of discovered metadata as provided by the runtime environment
-
discoverNodes
Description copied from interface:DiscoveryStrategyReturns a set of all discovered nodes based on the defined properties that were used to create theDiscoveryStrategyinstance.- Returns:
- a set of all discovered nodes
-