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

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

package com.ringcentral.platform.metrics.configs;

import com.ringcentral.platform.metrics.MetricContext;
import com.ringcentral.platform.metrics.labels.*;
import com.ringcentral.platform.metrics.measurables.Measurable;
import com.ringcentral.platform.metrics.names.MetricName;

import java.time.Duration;
import java.util.*;

import static com.ringcentral.platform.metrics.UnmodifiableMetricContext.emptyUnmodifiableMetricContext;
import static java.util.Collections.*;
import static java.util.Objects.requireNonNull;

public abstract class AbstractMeterSliceConfig implements MeterSliceConfig {

    private final boolean enabled;
    private final MetricName name;

    private final LabelValuesPredicate predicate;
    private final List




© 2015 - 2024 Weber Informatics LLC | Privacy Policy