Package io.getunleash.metric
Class UnleashMetricServiceImpl
- java.lang.Object
-
- io.getunleash.metric.UnleashMetricServiceImpl
-
- All Implemented Interfaces:
UnleashMetricService
public class UnleashMetricServiceImpl extends Object implements UnleashMetricService
-
-
Constructor Summary
Constructors Constructor Description UnleashMetricServiceImpl(UnleashConfig unleashConfig, UnleashMetricsSender unleashMetricsSender, UnleashScheduledExecutor executor)UnleashMetricServiceImpl(UnleashConfig unleashConfig, UnleashScheduledExecutor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcount(String toggleName, boolean active)voidcountVariant(String toggleName, String variantName)voidregister(Set<String> strategies)
-
-
-
Constructor Detail
-
UnleashMetricServiceImpl
public UnleashMetricServiceImpl(UnleashConfig unleashConfig, UnleashScheduledExecutor executor)
-
UnleashMetricServiceImpl
public UnleashMetricServiceImpl(UnleashConfig unleashConfig, UnleashMetricsSender unleashMetricsSender, UnleashScheduledExecutor executor)
-
-
Method Detail
-
register
public void register(Set<String> strategies)
- Specified by:
registerin interfaceUnleashMetricService
-
count
public void count(String toggleName, boolean active)
- Specified by:
countin interfaceUnleashMetricService
-
countVariant
public void countVariant(String toggleName, String variantName)
- Specified by:
countVariantin interfaceUnleashMetricService
-
-