java plugin: Add support for `flush' callbacks.
[collectd.git] / bindings / java / org / collectd / api / Collectd.java
index 7062959..3950b22 100644 (file)
@@ -59,6 +59,12 @@ public class Collectd
       CollectdWriteInterface object);
 
   /**
+   * Java representation of collectd/src/plugin.h:plugin_register_flush
+   */
+  native public static int registerFlush (String name,
+      CollectdFlushInterface object);
+
+  /**
    * Java representation of collectd/src/plugin.h:plugin_register_shutdown
    */
   native public static int registerShutdown (String name,