Package com.alibaba.druid.util

Examples of com.alibaba.druid.util.Histogram.record()


        histo.record(101);
        histo.record(102);
        histo.record(103);
        histo.record(104);
       
        histo.record(1001);
        histo.record(1002);
        histo.record(1003);
        histo.record(1004);
        histo.record(1005);
       
View Full Code Here


        histo.record(102);
        histo.record(103);
        histo.record(104);
       
        histo.record(1001);
        histo.record(1002);
        histo.record(1003);
        histo.record(1004);
        histo.record(1005);
       
        histo.record(10001);
View Full Code Here

        histo.record(103);
        histo.record(104);
       
        histo.record(1001);
        histo.record(1002);
        histo.record(1003);
        histo.record(1004);
        histo.record(1005);
       
        histo.record(10001);
       
View Full Code Here

        histo.record(104);
       
        histo.record(1001);
        histo.record(1002);
        histo.record(1003);
        histo.record(1004);
        histo.record(1005);
       
        histo.record(10001);
       
        Assert.assertEquals(1, histo.get(0));
View Full Code Here

       
        histo.record(1001);
        histo.record(1002);
        histo.record(1003);
        histo.record(1004);
        histo.record(1005);
       
        histo.record(10001);
       
        Assert.assertEquals(1, histo.get(0));
        Assert.assertEquals(2, histo.get(1));
View Full Code Here

        histo.record(1002);
        histo.record(1003);
        histo.record(1004);
        histo.record(1005);
       
        histo.record(10001);
       
        Assert.assertEquals(1, histo.get(0));
        Assert.assertEquals(2, histo.get(1));
        Assert.assertEquals(3, histo.get(2));
        Assert.assertEquals(4, histo.get(3));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.