Module: MongoStatProcessor

Defined in:
lib/heroku_mongo_watcher/watcher.rb

Instance Method Summary collapse

Instance Method Details

#post_initObject



6
7
8
# File 'lib/heroku_mongo_watcher/watcher.rb', line 6

def post_init
  puts "started to read mongostat"
end

#receive_data(data) ⇒ Object



10
11
12
# File 'lib/heroku_mongo_watcher/watcher.rb', line 10

def receive_data data
  puts "ruby sent me: #{data}"
end

#unbindObject



14
15
16
# File 'lib/heroku_mongo_watcher/watcher.rb', line 14

def unbind
  puts "ruby died with exit status: #{get_status.exitstatus}"
end