Module: DruidConfig

Defined in:
lib/druid_config.rb,
lib/druid_config/zk.rb,
lib/druid_config/util.rb,
lib/druid_config/client.rb,
lib/druid_config/cluster.rb,
lib/druid_config/version.rb,
lib/druid_config/exceptions.rb,
lib/druid_config/entities/node.rb,
lib/druid_config/entities/rule.rb,
lib/druid_config/entities/task.rb,
lib/druid_config/entities/tier.rb,
lib/druid_config/entities/worker.rb,
lib/druid_config/entities/segment.rb,
lib/druid_config/entities/data_source.rb,
lib/druid_config/entities/rule_collection.rb,
lib/druid_config/validators/rule_validator.rb

Overview

Define the versions of the gem.

Defined Under Namespace

Modules: Entities, Exceptions, Util, Validators, Version Classes: Client, Cluster, ZK

Class Method Summary collapse

Class Method Details

.clientObject

Return initialized client



39
40
41
# File 'lib/druid_config.rb', line 39

def self.client
  @client
end

.client=(client) ⇒ Object

Initialize the current client



32
33
34
# File 'lib/druid_config.rb', line 32

def self.client=(client)
  @client = client
end