Esempio n. 1
0
 public ZooKeeperDistributedLock(string key, string configName) :
     this(key, ZooKeeperConfigSection.FromSection(configName))
 {
     //
 }
Esempio n. 2
0
 public ZooKeeperDistributedLock(string key, ZooKeeperConfigSection config) :
     this(config.Server, config.DistributedLockPath, key)
 {
     //
 }
Esempio n. 3
0
 public ZooKeeperClient(ZooKeeperConfigSection configuration) :
     this(configuration.Server, TimeSpan.FromMilliseconds(configuration.SessionTimeOut))
 {
     //
 }