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

com.ringcentral.platform.metrics.configs.MeterInstanceConfig Maven / Gradle / Ivy

The newest version!
package com.ringcentral.platform.metrics.configs;

import java.util.Set;
import com.ringcentral.platform.metrics.MetricContext;
import com.ringcentral.platform.metrics.measurables.Measurable;
import com.ringcentral.platform.metrics.names.MetricName;

public interface MeterInstanceConfig {
    default boolean hasName() {
        return name() != null;
    }

    MetricName name();

    default boolean hasMeasurables() {
        return measurables() != null && !measurables().isEmpty();
    }

    Set measurables();
    MetricContext context();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy