Class: ProxyMgr::ServiceConfig::Zookeeper
- Includes:
- Logging
- Defined in:
- lib/proxymgr/service_config/zookeeper.rb
Instance Method Summary collapse
Methods included from Logging
Methods inherited from Base
Constructor Details
This class inherits a constructor from ProxyMgr::ServiceConfig::Base
Instance Method Details
#start ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/proxymgr/service_config/zookeeper.rb', line 9 def start @services = {} @client = Zoology::Client.new(@config['servers']) @path_cache = Zoology::PathCache.new(@client, @config['path'], &method(:watch)) @client.connect end |