All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.centurylink.mdw.model.system.SystemMetric Maven / Gradle / Ivy

There is a newer version: 6.1.39
Show newest version
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