public class StatisticsProviderFactory
extends Object
Factory to create StatisticsProvider depending on setup. It detects if the
Metrics library is present or not. If present
then it configures a MetricsStatisticsProvider otherwise fallbacks to DefaultStatisticsProvider