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.



87
88
89
90
91
92
93
94
95
# File 'lib/droonga/supervisor.rb', line 87

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

Instance Attribute Details

#database_pathObject

Returns the value of attribute database_path.



83
84
85
# File 'lib/droonga/supervisor.rb', line 83

def database_path
  @database_path
end

#datasetObject

Returns the value of attribute dataset.



82
83
84
# File 'lib/droonga/supervisor.rb', line 82

def dataset
  @dataset
end

#internal_connection_lifetimeObject

Returns the value of attribute internal_connection_lifetime.



86
87
88
# File 'lib/droonga/supervisor.rb', line 86

def internal_connection_lifetime
  @internal_connection_lifetime
end

#job_pusherObject

Returns the value of attribute job_pusher.



85
86
87
# File 'lib/droonga/supervisor.rb', line 85

def job_pusher
  @job_pusher
end

#labelObject

Returns the value of attribute label.



81
82
83
# File 'lib/droonga/supervisor.rb', line 81

def label
  @label
end

#nameObject

Returns the value of attribute name.



80
81
82
# File 'lib/droonga/supervisor.rb', line 80

def name
  @name
end

#pluginsObject

Returns the value of attribute plugins.



84
85
86
# File 'lib/droonga/supervisor.rb', line 84

def plugins
  @plugins
end