
com.centurylink.mdw.model.system.SystemMetric Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mdw-common Show documentation
Show all versions of mdw-common Show documentation
MDW is a microservices based workflow framework
package com.centurylink.mdw.model.system;
import com.centurylink.mdw.common.service.RegisteredService;
import com.centurylink.mdw.model.report.Metric;
import java.util.List;
public interface SystemMetric extends RegisteredService {
/**
* Should match path segment[2] on REST request.
* And this path is the same used for websocket subscribe.
*/
String getName();
/**
* Executed at intervals to collect metrics.
*/
List collect();
default boolean isEnabled() { return false; }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy