Class: Droonga::Supervisor::WorkerConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/droonga/supervisor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWorkerConfiguration

Returns a new instance of WorkerConfiguration.



79
80
81
82
83
84
85
# File 'lib/droonga/supervisor.rb', line 79

def initialize
  @name = nil
  @dataset = nil
  @database_path = nil
  @plugins = []
  @job_pusher = nil
end

Instance Attribute Details

#database_pathObject

Returns the value of attribute database_path.



76
77
78
# File 'lib/droonga/supervisor.rb', line 76

def database_path
  @database_path
end

#datasetObject

Returns the value of attribute dataset.



75
76
77
# File 'lib/droonga/supervisor.rb', line 75

def dataset
  @dataset
end

#job_pusherObject

Returns the value of attribute job_pusher.



78
79
80
# File 'lib/droonga/supervisor.rb', line 78

def job_pusher
  @job_pusher
end

#nameObject

Returns the value of attribute name.



74
75
76
# File 'lib/droonga/supervisor.rb', line 74

def name
  @name
end

#pluginsObject

Returns the value of attribute plugins.



77
78
79
# File 'lib/droonga/supervisor.rb', line 77

def plugins
  @plugins
end