Package org.qi4j.api.metrics

Examples of org.qi4j.api.metrics.MetricsHistogram


    @Test
    public void givenMetricsProviderWithoutSupportForHistogramWhenRequestingHistogramExpectDefaultNullImplementation()
    {
        MetricsProvider underTest = new MetricsProviderAdapter();
        MetricsHistogramFactory factory = underTest.createFactory( MetricsHistogramFactory.class );
        MetricsHistogram test = factory.createHistogram( getClass(), "test" );
        test.update( 5L );
        test.update( 5L );
        test.update( 5L );
    }
View Full Code Here

TOP

Related Classes of org.qi4j.api.metrics.MetricsHistogram

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.