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

Florian Forster octo at verplant.org
Wed Feb 18 14:43:37 CET 2009


New branch 'ff/java' available with the following commits:
commit aede1532622a544e16fbb3fbd1a096230f047745
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Feb 18 14:20:02 2009 +0100

    java plugin: Added some configuration possibilities.

commit 548fd26b26483f6f147274ba2c37337d47defdf0
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Wed Feb 18 12:49:56 2009 +0100

    java plugin: Added the ability to have `Write' callbacks in Java modules.
    
    I think right now having both, a `Read' and a `Write' function, would be
    a problem, because the same thread would enter the JVM twice, possibly
    detaching itself from the JVM when the write callback is finished, while
    it actually still is in the read callback. Adding a `dispatch thread' or
    something similar should take care of this problem.
    
    Other than that, converting `data_set_t' and `value_list_t' to their
    Java equivalents and back works fine now.

commit ff1c15a6849cd5c35fa3fce7444cb407fbb0cb4c
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Tue Feb 17 23:45:40 2009 +0100

    java plugin: Add an early prototype of a Java binding, similar to the Perl plugin.
    
    It's totally proof-of-concept, but it's possible to dispatch values from
    a Java class using the ValueList implementation provided by Doug
    MacEachern from Hyperic. The other way around is not yet implemented,
    but that's just a matter of time and code. Configuration, notifications,
    targets, matches - all that is still missing.
    
    Right now, the code requires JNI version 1.2. Maybe I'll try to
    introduce compatibility with JNI 1.1 at a later point, if it's really
    useful for somebody.
    
    Signed-off-by: Florian Forster <octo at leeloo.lan.home.verplant.org>




More information about the collectd-changes mailing list