Merge branch 'master' into sr/pf
[collectd.git] / bindings / java / org / collectd / api / CollectdFlushInterface.java
index abad042..410c61c 100644 (file)
 package org.collectd.api;
 
 /**
- * Interface for objects implementing a flush function.
+ * 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);
 }