[collectd-changes] collectd, the system statistics collection daemon: Changes to 'ff/java'

Florian Forster octo at verplant.org
Thu Feb 19 23:39:33 CET 2009


 bindings/java/org/collectd/api/CollectdAPI.java |    4 +
 src/java.c                                      |  458 +++++++++++++----------
 src/plugin.c                                    |  254 +++++++++++--
 src/plugin.h                                    |    1 +
 4 files changed, 475 insertions(+), 242 deletions(-)

New commits:
commit 48b597ad215f915dfc6d7c5d4152b1dfd16c199f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Feb 19 23:38:52 2009 +0100

    java plugin: Use the new `plugin_dispatch_values_async' function.
    
    Having Java read- and write-functions at the same time works now \o/

commit ba6497bdffb6a225eb6c86c8b8fa57a2520f0c5f
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Feb 19 23:28:16 2009 +0100

    src/plugin.[ch]: Implement `plugin_dispatch_values_async'.
    
    This function differs from `plugin_dispatch_values' in that it will add
    the value_list_t to a queue rather than calling the write functions
    right away. This as at least two advantages:
    
      - The _async function will often return faster, since no file
        operation is done.
    
      - The ``read thread'' and the ``write thread'' are not the same
        thread. This makes it much easier for plugins that provide both,
        `read' and `write' callbacks.

commit d456f193400c94d05eda022526a6d894eb23ea82
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Feb 19 21:59:52 2009 +0100

    java plugin: Conditionally register read, write, and shutdown callbacks.
    
    Right now, this is a quick and dirty work around to get read functions
    working again.

commit c3aa8a690528c832c665eecef688a30fdb77ed36
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Thu Feb 19 21:59:09 2009 +0100

    java plugin: Implement `plugin_get_ds' aka. GetDS.




More information about the collectd-changes mailing list