public interface IClientConfig
DefaultClientConfigImpl.| Modifier and Type | Interface and Description |
|---|---|
static class |
IClientConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(IClientConfigKey key) |
<T> T |
get(IClientConfigKey<T> key)
Returns a typed property.
|
<T> T |
get(IClientConfigKey<T> key,
T defaultValue)
Returns a typed property.
|
java.lang.String |
getClientName() |
java.lang.String |
getNameSpace() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.Object |
getProperty(IClientConfigKey key)
Deprecated.
|
java.lang.Object |
getProperty(IClientConfigKey key,
java.lang.Object defaultVal)
Deprecated.
|
boolean |
getPropertyAsBoolean(IClientConfigKey key,
boolean defaultValue) |
int |
getPropertyAsInteger(IClientConfigKey key,
int defaultValue) |
java.lang.String |
getPropertyAsString(IClientConfigKey key,
java.lang.String defaultValue) |
void |
loadDefaultValues()
load default values for this configuration
|
void |
loadProperties(java.lang.String clientName)
Load the properties for a given client and/or load balancer.
|
java.lang.String |
resolveDeploymentContextbasedVipAddresses()
Returns the applicable virtual addresses ("vip") used by this client configuration.
|
<T> IClientConfig |
set(IClientConfigKey<T> key,
T value)
Set the typed property with the given value.
|
void |
setProperty(IClientConfigKey key,
java.lang.Object value)
Deprecated.
|
java.lang.String getClientName()
java.lang.String getNameSpace()
void loadProperties(java.lang.String clientName)
clientName - void loadDefaultValues()
java.util.Map<java.lang.String,java.lang.Object> getProperties()
@Deprecated void setProperty(IClientConfigKey key, java.lang.Object value)
set(IClientConfigKey, Object)@Deprecated java.lang.Object getProperty(IClientConfigKey key)
get(IClientConfigKey)@Deprecated java.lang.Object getProperty(IClientConfigKey key, java.lang.Object defaultVal)
get(IClientConfigKey, Object)boolean containsProperty(IClientConfigKey key)
java.lang.String resolveDeploymentContextbasedVipAddresses()
int getPropertyAsInteger(IClientConfigKey key, int defaultValue)
java.lang.String getPropertyAsString(IClientConfigKey key, java.lang.String defaultValue)
boolean getPropertyAsBoolean(IClientConfigKey key, boolean defaultValue)
<T> T get(IClientConfigKey<T> key)
For DefaultClientConfigImpl, if the value of the property is String,
it will do basic type conversion from String to the following type:
<T> T get(IClientConfigKey<T> key, T defaultValue)
<T> IClientConfig set(IClientConfigKey<T> key, T value)