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

ru.taskurotta.service.console.retriever.metrics.MetricsNumberDataRetriever Maven / Gradle / Ivy

package ru.taskurotta.service.console.retriever.metrics;

import ru.taskurotta.service.metrics.model.DataPointVO;

import java.util.Collection;
import java.util.Date;

/**
 * User: dimadin
 * Date: 25.10.13 10:14
 */
public interface MetricsNumberDataRetriever {

    /**
     * Retrieves collection of available metric names
     */
    Collection getNumberMetricNames();

    /**
     * Retrieves collection of data sets measured by given metric
     */
    Collection getNumberDataSets(String metricName);

    /**
     * Retrieve statistic for given metric and dataset
     */
    DataPointVO[] getData(String metricName, String datasetName);

    /**
     * @return last update date
     */
    Date getLastActivityTime(String metricName, String datasetName);

    /**
     * @return last measured value
     */
    Number getLastValue(String metricName, String datasetName);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy