diff --git a/bindings/java/org/collectd/api/CollectdFlushInterface.java b/bindings/java/org/collectd/api/CollectdFlushInterface.java
index abad04278e6e085e6926f6ef831a715d3fc2f68b..410c61c60ef21d2d350e29a699fe1c2e5630d42c 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);
}