Module | Raindrops::Aggregate::LastDataRecv |
In: |
lib/raindrops/aggregate/last_data_recv.rb
(CVS)
|
This module is used to extend TCPServer and Kgio::TCPServer objects and aggregate last_data_recv times for all accepted clients. It is designed to be used with Raindrops::LastDataRecv Rack application but can be easily changed to work with other stats collection devices.
Methods wrapped include:
raindrops_aggregate | [RW] | The integer value of last_data_recv is sent to this object. This is usually a duck type compatible with the \Aggregate class, but can be anything that accepts the *<<* method. |
By default, this is a Raindrops::Aggregate::PMQ object It may be anything that responds to *<<*