public class ZooKeeperLeaderSelectorConfigurer extends Object
Constructor and Description |
---|
ZooKeeperLeaderSelectorConfigurer() |
Modifier and Type | Method and Description |
---|---|
ZooKeeperLeaderSelectorConfigurer |
connectionTimeout(long connectionTimeout,
TimeUnit timeUnit) |
com.gigaspaces.cluster.activeelection.LeaderSelectorConfig |
create() |
ZooKeeperLeaderSelectorConfigurer |
retries(long retries) |
ZooKeeperLeaderSelectorConfigurer |
sessionTimeout(long sessionTimeout,
TimeUnit timeUnit) |
ZooKeeperLeaderSelectorConfigurer |
sleepMsBetweenRetries(long sleepMsBetweenRetries,
TimeUnit timeUnit) |
public ZooKeeperLeaderSelectorConfigurer sessionTimeout(long sessionTimeout, TimeUnit timeUnit)
sessionTimeout
- - curator client session timeouttimeUnit
- public ZooKeeperLeaderSelectorConfigurer connectionTimeout(long connectionTimeout, TimeUnit timeUnit)
connectionTimeout
- - curator client connection timeouttimeUnit
- public ZooKeeperLeaderSelectorConfigurer retries(long retries)
retries
- - curator client retriespublic ZooKeeperLeaderSelectorConfigurer sleepMsBetweenRetries(long sleepMsBetweenRetries, TimeUnit timeUnit)
sleepMsBetweenRetries
- - curator client sleep between retriestimeUnit
- public com.gigaspaces.cluster.activeelection.LeaderSelectorConfig create()
Copyright © GigaSpaces.