Interface for differnent types of stats aggregators. More...
Public Member Functions | |
register ($obj) | |
Register an object to the aggregator, represented by an associative array. | |
calculate () | |
Get the result of the aggregator. |
Interface for differnent types of stats aggregators.
Takes register for each object, and gets the return value when finished by calling ->calculate()
MockLivestatus_StatsAggregator::register | ( | $ | obj | ) |
Register an object to the aggregator, represented by an associative array.
$obj | object |
Implemented in MockLivestatus_FilterCountStats, and MockLivestatus_CalculatedStats.