21 lines
399 B
Java
21 lines
399 B
Java
package sysmon.shared;
|
|
|
|
import org.pf4j.ExtensionPoint;
|
|
|
|
import java.util.Map;
|
|
|
|
public interface MetricExtension extends ExtensionPoint {
|
|
|
|
boolean isEnabled();
|
|
boolean isThreaded();
|
|
boolean isSupported();
|
|
|
|
String getName();
|
|
String getInterval();
|
|
String getDescription();
|
|
|
|
void setConfiguration(Map<String, Object> map);
|
|
|
|
MetricResult getMetrics() throws Exception;
|
|
}
|