Class: Maxwell::Agent::Host::Service
- Inherits:
-
Object
- Object
- Maxwell::Agent::Host::Service
- Includes:
- Work
- Defined in:
- lib/maxwell/agent/host.rb
Constant Summary
Constants included from Work
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Service
constructor
A new instance of Service.
Methods included from Work
#expected_next_run, #frequency, from_json, #generate_rank, included, #last_run, #load, load, #perform, #to_json, #verify_required_attributes!, #work_now?
Constructor Details
#initialize(attrs = {}) ⇒ Service
Returns a new instance of Service.
10 11 12 |
# File 'lib/maxwell/agent/host.rb', line 10 def initialize(attrs={}) @hosts ||= [] end |