Class: Maxwell::Agent::Host::Service

Inherits:
Object
  • Object
show all
Includes:
Work
Defined in:
lib/maxwell/agent/host.rb

Constant Summary

Constants included from Work

Work::REQUIRED_ATTRIBUTES

Instance Method Summary collapse

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