2021-05-21 09:08:43 +00:00
|
|
|
package sysmon.shared;
|
2021-05-01 12:44:55 +00:00
|
|
|
|
|
|
|
import org.pf4j.ExtensionPoint;
|
|
|
|
|
2021-09-10 10:15:33 +00:00
|
|
|
import java.util.Map;
|
2021-06-10 06:55:03 +00:00
|
|
|
|
2021-05-01 12:44:55 +00:00
|
|
|
public interface MetricExtension extends ExtensionPoint {
|
|
|
|
|
2021-09-10 10:15:33 +00:00
|
|
|
boolean isEnabled();
|
2021-11-06 19:32:54 +00:00
|
|
|
boolean isThreaded();
|
2021-05-01 12:44:55 +00:00
|
|
|
boolean isSupported();
|
2021-05-04 12:23:34 +00:00
|
|
|
|
|
|
|
String getName();
|
2022-09-06 13:08:52 +00:00
|
|
|
String getInterval();
|
2021-05-04 12:23:34 +00:00
|
|
|
String getDescription();
|
|
|
|
|
2021-09-10 10:15:33 +00:00
|
|
|
void setConfiguration(Map<String, Object> map);
|
|
|
|
|
2021-06-10 06:55:03 +00:00
|
|
|
MetricResult getMetrics() throws Exception;
|
2021-05-01 12:44:55 +00:00
|
|
|
}
|