author | Sebastian Harl <sh@tokkee.org> | |
Thu, 21 Aug 2008 08:45:43 +0000 (10:45 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 21 Aug 2008 09:12:58 +0000 (11:12 +0200) | ||
commit | 910e3379457143781e814d64ea8251a61e6675ef | |
tree | 656bbe176211d0531ac5f8710f1651681469d7b7 | tree | snapshot |
parent | 44c78181413e1e1a90d7512078fe8218b564271a | commit | diff |
perl plugin, Collectd.pm: Added support for flushing of specific identifiers.
plugin_flush() now accepts three parameters, 'timeout', 'plugins' and
'identifiers'. The meaning of the former two did not change. 'identifiers' may
be a string or an array of strings specifying identifiers that are to be
passed along to the plugins' flush callbacks. This brings the Perl API in sync
with the C API.
plugin_flush_one() and plugin_flush_all() have been re-implemented in plain
Perl and marked as deprecated. A new XSUB, Collectd::_plugin_flush, has been
added which provides a small wrapper around the C implementation of
plugin_flush().
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
plugin_flush() now accepts three parameters, 'timeout', 'plugins' and
'identifiers'. The meaning of the former two did not change. 'identifiers' may
be a string or an array of strings specifying identifiers that are to be
passed along to the plugins' flush callbacks. This brings the Perl API in sync
with the C API.
plugin_flush_one() and plugin_flush_all() have been re-implemented in plain
Perl and marked as deprecated. A new XSUB, Collectd::_plugin_flush, has been
added which provides a small wrapper around the C implementation of
plugin_flush().
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
bindings/perl/Collectd.pm | diff | blob | history | |
src/collectd-perl.pod | diff | blob | history | |
src/perl.c | diff | blob | history |