public final class ClientAliasedDiscoveryConfigUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<AliasedDiscoveryConfig<?>> |
aliasedDiscoveryConfigsFrom(ClientConfig config)
Gets a list of all aliased discovery configs from
config . |
static List<DiscoveryStrategyConfig> |
createDiscoveryStrategyConfigs(ClientConfig config)
Extracts aliased discovery configs from
config and creates a list of DiscoveryStrategyConfig out of them. |
static AliasedDiscoveryConfig |
getConfigByTag(ClientNetworkConfig config,
String tag)
|
static AliasedDiscoveryConfig |
newAliasedDiscoveryConfig(String name)
Creates new
AliasedDiscoveryConfig by the given tag . |
public static List<DiscoveryStrategyConfig> createDiscoveryStrategyConfigs(ClientConfig config)
config
and creates a list of DiscoveryStrategyConfig
out of them.public static AliasedDiscoveryConfig getConfigByTag(ClientNetworkConfig config, String tag)
public static List<AliasedDiscoveryConfig<?>> aliasedDiscoveryConfigsFrom(ClientConfig config)
config
.public static AliasedDiscoveryConfig newAliasedDiscoveryConfig(String name)
AliasedDiscoveryConfig
by the given tag
.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.