Merge branch 'collectd-4.10' into collectd-5.0
[collectd.git] / bindings / java / org / collectd / api / CollectdFlushInterface.java
index 03fa532..410c61c 100644 (file)
 
 package org.collectd.api;
 
+/**
+ * Interface for objects implementing a flush method.
+ *
+ * @author Florian Forster <octo at verplant.org>
+ * @see Collectd#registerFlush
+ */
 public interface CollectdFlushInterface
 {
-       public int flush (int timeout, String identifier);
+       public int flush (Number timeout, String identifier);
 }