summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3ea3b96)
raw | patch | inline | side by side (parent: 3ea3b96)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 29 Aug 2010 07:56:31 +0000 (09:56 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 29 Aug 2010 07:56:31 +0000 (09:56 +0200) |
bindings/perl/lib/Collectd.pm | patch | blob | history | |
src/collectd-perl.pod | patch | blob | history |
index f1b5d859874c0affc08143e1a536ca6f99747dc6..ca3b5d2349805a505ae22df4faad8c7b9feda529 100644 (file)
}
}
-sub plugin_flush_one {
- my $timeout = shift;
- my $name = shift;
-
- WARNING ("Collectd::plugin_flush_one is deprecated - "
- . "use Collectd::plugin_flush instead.");
-
- if (! (defined ($timeout) && defined ($name))) {
- ERROR ("Usage: Collectd::plugin_flush_one(timeout, name)");
- return;
- }
-
- plugin_flush (plugins => $name, timeout => $timeout);
-}
-
-sub plugin_flush_all {
- my $timeout = shift;
-
- WARNING ("Collectd::plugin_flush_all is deprecated - "
- . "use Collectd::plugin_flush instead.");
-
- if (! defined ($timeout)) {
- ERROR ("Usage: Collectd::plugin_flush_all(timeout)");
- return;
- }
-
- plugin_flush (timeout => $timeout);
-}
-
sub fc_call {
my $type = shift;
my $name = shift;
diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod
index bacf8850f8443b5207b9287d1069018e0089cad5..6b44722cfe808605603a549ac3690c5998bb1eb7 100644 (file)
--- a/src/collectd-perl.pod
+++ b/src/collectd-perl.pod
the B<plugins> and B<identifiers> arguments may either be a string or a
reference to an array of strings.
-=item B<plugin_flush_one> (I<timeout>, I<plugin>)
-
-This is identical to using "plugin_flush (timeout =E<gt> I<timeout>, plugins
-=E<gt> I<plugin>".
-
-B<Note>: Starting with version 4.5 of collectd, B<plugin_flush_one> has been
-deprecated and will be removed in some future version of collectd. Use
-B<plugin_flush> instead.
-
-=item B<plugin_flush_all> (I<timeout>)
-
-This is identical to using "plugin_flush (timeout =E<gt> I<timeout>)".
-
-B<Note>: Starting with version 4.5 of collectd, B<plugin_flush_all> has been
-deprecated and will be removed in some future version of collectd. Use
-B<plugin_flush> instead.
-
=item B<plugin_dispatch_notification> (I<notification>)
Submits a I<notification> to the daemon which will then pass it to all