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

Florian Forster octo at verplant.org
Tue Feb 24 00:26:54 CET 2009


 bindings/java/org/collectd/api/Collectd.java       |   13 +
 .../api/CollectdMatchFactoryInterface.java         |   37 +
 .../org/collectd/api/CollectdMatchInterface.java   |   48 ++
 src/java.c                                         |  709 +++++++++++++-------
 4 files changed, 566 insertions(+), 241 deletions(-)

New commits:
commit 636c770506ab2c0cd6c23f7bd357ac9113a01f44
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Mon Feb 23 18:59:04 2009 +0100

    java plugin: Add support for `match' callbacks.
    
    Holy crap, that one needed some serious magic.. The problem is, that the
    filter chains are created before the initialization functions are run.
    Since the Java plugin used to initialize the JVM and load the classes in
    the init function, the match callbacks were not available in time.
    
    The behavior is now: Create the JVM as soon as the the first `LoadPlugin'
    option is found and load and configure all Java plugins while in the
    configuration phase. (I. e. exactly like C plugins.)
    
    Phew, I've earned that beer now.




More information about the collectd-changes mailing list