com.ringcentral.platform.metrics.timer.configs.DefaultTimerSliceConfig Maven / Gradle / Ivy
package com.ringcentral.platform.metrics.timer.configs;
import com.ringcentral.platform.metrics.MetricContext;
import com.ringcentral.platform.metrics.configs.AbstractMeterSliceConfig;
import com.ringcentral.platform.metrics.labels.*;
import com.ringcentral.platform.metrics.names.MetricName;
import com.ringcentral.platform.metrics.timer.TimerMeasurable;
import java.time.Duration;
import java.util.*;
public class DefaultTimerSliceConfig extends AbstractMeterSliceConfig implements TimerSliceConfig {
public DefaultTimerSliceConfig(
boolean enabled,
MetricName name,
LabelValuesPredicate predicate,
List