- COPYRIGHT AND LICENSE
Argon::Tracker - Internal class used to track node capacity
An internally used class that tracks capacity of worker nodes.
The number of completed past transactions used to calculate load.
The capacity as the sum of tracked worker capacities.
Increment capacity by the supplied value.
Decrement capacity by the supplied value.
Returns the number of task slots available; equivalent to the total capacity less the number of actively tracked tasks.
Returns true if the "available_capacity" is greater than zero.
Estimates and returns the time required to complete one more than the number of currently tracked tasks.
Returns the number of seconds since the tracker began tracking the supplied Argon::Message.
Begins tracking an Argon::Message.
Completes tracking on an Argon::Message.
Resets the start time on an Argon::Message.
Jeff Ober <email@example.com>
This software is copyright (c) 2017 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.