Class: Droonga::Supervisor::WorkerConfiguration
- Inherits:
-
Object
- Object
- Droonga::Supervisor::WorkerConfiguration
- Defined in:
- lib/droonga/supervisor.rb
Instance Attribute Summary collapse
-
#database_path ⇒ Object
Returns the value of attribute database_path.
-
#dataset ⇒ Object
Returns the value of attribute dataset.
-
#internal_connection_lifetime ⇒ Object
Returns the value of attribute internal_connection_lifetime.
-
#job_pusher ⇒ Object
Returns the value of attribute job_pusher.
-
#label ⇒ Object
Returns the value of attribute label.
-
#name ⇒ Object
Returns the value of attribute name.
-
#plugins ⇒ Object
Returns the value of attribute plugins.
Instance Method Summary collapse
-
#initialize ⇒ WorkerConfiguration
constructor
A new instance of WorkerConfiguration.
Constructor Details
#initialize ⇒ WorkerConfiguration
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_path ⇒ Object
Returns the value of attribute database_path.
83 84 85 |
# File 'lib/droonga/supervisor.rb', line 83 def database_path @database_path end |
#dataset ⇒ Object
Returns the value of attribute dataset.
82 83 84 |
# File 'lib/droonga/supervisor.rb', line 82 def dataset @dataset end |
#internal_connection_lifetime ⇒ Object
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_pusher ⇒ Object
Returns the value of attribute job_pusher.
85 86 87 |
# File 'lib/droonga/supervisor.rb', line 85 def job_pusher @job_pusher end |
#label ⇒ Object
Returns the value of attribute label.
81 82 83 |
# File 'lib/droonga/supervisor.rb', line 81 def label @label end |
#name ⇒ Object
Returns the value of attribute name.
80 81 82 |
# File 'lib/droonga/supervisor.rb', line 80 def name @name end |
#plugins ⇒ Object
Returns the value of attribute plugins.
84 85 86 |
# File 'lib/droonga/supervisor.rb', line 84 def plugins @plugins end |