*/
public class Collectd
{
- private static final int LOG_ERR = 3;
- private static final int LOG_WARNING = 4;
- private static final int LOG_NOTICE = 5;
- private static final int LOG_INFO = 6;
- private static final int LOG_DEBUG = 7;
+ public static final int LOG_ERR = 3;
+ public static final int LOG_WARNING = 4;
+ public static final int LOG_NOTICE = 5;
+ public static final int LOG_INFO = 6;
+ public static final int LOG_DEBUG = 7;
+
+ public static final int FC_MATCH_NO_MATCH = 0;
+ public static final int FC_MATCH_MATCHES = 1;
+
+ public static final int FC_TARGET_CONTINUE = 0;
+ public static final int FC_TARGET_STOP = 1;
+ public static final int FC_TARGET_RETURN = 2;
/**
* Java representation of collectd/src/plugin.h:plugin_register_config
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,
CollectdShutdownInterface object);
/**
+ * Java representation of collectd/src/plugin.h:plugin_register_log
+ */
+ native public static int registerLog (String name,
+ CollectdLogInterface object);
+
+ /**
+ * Java representation of collectd/src/plugin.h:plugin_register_notification
+ */
+ native public static int registerNotification (String name,
+ CollectdNotificationInterface object);
+
+ /**
+ * Java representation of collectd/src/filter_chain.h:fc_register_match
+ */
+ native public static int registerMatch (String name,
+ CollectdMatchFactoryInterface object);
+
+ /**
* Java representation of collectd/src/plugin.h:plugin_dispatch_values
*/
native public static int dispatchValues (ValueList vl);
/**
+ * Java representation of collectd/src/plugin.h:plugin_dispatch_notification
+ */
+ native public static int dispatchNotification (Notification n);
+
+ /**
* Java representation of collectd/src/plugin.h:plugin_get_ds
*/
native public static DataSet getDS (String type);