protected static class SharedServerContextConfiguration.ZookeeperConnectionConfig
extends java.lang.Object
implements org.springframework.context.EnvironmentAware
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
zkClientConnect |
protected int |
zkConnectionTimeout |
protected int |
zkInitialRetryWait |
protected java.lang.String |
zkNamespace |
protected int |
zkRetryMaxAttempts |
protected int |
zkSessionTimeout |
| Modifier | Constructor and Description |
|---|---|
protected |
SharedServerContextConfiguration.ZookeeperConnectionConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
setEnvironment(org.springframework.core.env.Environment environment) |
protected ZooKeeperConnection |
setupZookeeperPropertySource(java.lang.String zkClientConnect,
boolean isEmbedded) |
@Value(value="${zk.client.connect:}")
protected java.lang.String zkClientConnect
@Value(value="${zk.namespace:}")
protected java.lang.String zkNamespace
@Value(value="${zk.client.sessionTimeout:60000}")
protected int zkSessionTimeout
@Value(value="${zk.client.connectionTimeout:30000}")
protected int zkConnectionTimeout
@Value(value="${zk.client.initialRetryWait:1000}")
protected int zkInitialRetryWait
@Value(value="${zk.client.retryMaxAttempts:3}")
protected int zkRetryMaxAttempts
protected SharedServerContextConfiguration.ZookeeperConnectionConfig()
protected ZooKeeperConnection setupZookeeperPropertySource(java.lang.String zkClientConnect, boolean isEmbedded)
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAware