@Configuration
@Inject(value="${seata.registry.zk}",
required=false)
public class RegistryZooKeeperProperties
extends Object
| Constructor and Description |
|---|
RegistryZooKeeperProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCluster() |
int |
getConnectTimeout() |
String |
getPassword() |
String |
getServerAddr() |
int |
getSessionTimeout() |
String |
getUsername() |
RegistryZooKeeperProperties |
setCluster(String cluster) |
RegistryZooKeeperProperties |
setConnectTimeout(int connectTimeout) |
RegistryZooKeeperProperties |
setPassword(String password) |
RegistryZooKeeperProperties |
setServerAddr(String serverAddr) |
RegistryZooKeeperProperties |
setSessionTimeout(int sessionTimeout) |
RegistryZooKeeperProperties |
setUsername(String username) |
public String getCluster()
public RegistryZooKeeperProperties setCluster(String cluster)
public String getServerAddr()
public RegistryZooKeeperProperties setServerAddr(String serverAddr)
public int getSessionTimeout()
public RegistryZooKeeperProperties setSessionTimeout(int sessionTimeout)
public int getConnectTimeout()
public RegistryZooKeeperProperties setConnectTimeout(int connectTimeout)
public String getUsername()
public RegistryZooKeeperProperties setUsername(String username)
public String getPassword()
public RegistryZooKeeperProperties setPassword(String password)
Copyright © 2025. All rights reserved.