- All Implemented Interfaces:
public class GcpDiscoveryStrategy extends AbstractDiscoveryStrategy
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, rack, host, 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