Class Nanite::Reaper
In: lib/nanite/reaper.rb
Parent: Object

Methods

new   register   unregister   update  

Attributes

timeouts  [R] 

Public Class methods

Public Instance methods

Add the specified token to the internal timeout hash. The reaper will then check this instance on every reap.

Updates the timeout timestamp for the given token. If the token is unknown to this reaper instance it will be auto-registered, usually happening when you have several mappers and not all of them know this agent yet, but received a ping from it.

[Validate]