public class ZooKeeperLeaderSelectorConfigurer extends Object
Constructor and Description |
---|
ZooKeeperLeaderSelectorConfigurer() |
Modifier and Type | Method and Description |
---|---|
ZooKeeperLeaderSelectorConfigurer |
connectionTimeout(long connectionTimeout,
TimeUnit timeUnit) |
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 timeoutpublic ZooKeeperLeaderSelectorConfigurer connectionTimeout(long connectionTimeout, TimeUnit timeUnit)
connectionTimeout
- - curator client connection timeoutpublic ZooKeeperLeaderSelectorConfigurer retries(long retries)
retries
- - curator client retriespublic ZooKeeperLeaderSelectorConfigurer sleepMsBetweenRetries(long sleepMsBetweenRetries, TimeUnit timeUnit)
sleepMsBetweenRetries
- - curator client sleep between retriespublic LeaderSelectorConfig create()
Copyright © GigaSpaces.