Code

perl plugin, Collectd.pm: Added support to flush Perl plugins.
authorSebastian Harl <sh@tokkee.org>
Sun, 27 Apr 2008 18:53:49 +0000 (20:53 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 30 Apr 2008 08:40:50 +0000 (10:40 +0200)
commit71d217e6aa1b0e0df9252831c528e5fcc6838646
treea3bff207c4724c6f6b6ec0a1ebb29098587a458b
parent0aad516f24e861109627f4b1dc5bfea3b1f621c1
perl plugin, Collectd.pm: Added support to flush Perl plugins.

Perl plugins may now register a callback of type Collectd::TYPE_FLUSH. A
single integer argument, representing the timeout in seconds, will be
passed to such callbacks.

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
bindings/perl/Collectd.pm
src/perl.c