NAME
App::Manoc::Netwalker::Poller::BaseTask - Base role for poller tasks
VERSION
version 2.99.2
ATTRIBUTES
schema
The Manoc DB schema.
config
Netwalker config object
credentials
Authentication credentials hash.
refresh_interval
The refresh interval used to compute future scheduling.
timestamp
UNIX timestamp saying the at which the task was started
METHODS
reschedule_on_failure
Update nwinfo-
scheduled_attempt> field after a failed poller attempt. Implements backoff, doubling interval extent up to config-
max_backoff>.
reschedule_on_success
Update nwinfo-
scheduled_attempt> field after a successful poller attempt.
AUTHORS
Gabriele Mambrini <gmambro@cpan.org>
Enrico Liguori
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Gabriele Mambrini.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.