Examples of BoundaryStatisticImpl


Examples of org.apache.activemq.management.BoundaryStatisticImpl

    /**
     * Use case for BoundaryStatisticImpl class.
     * @throws Exception
     */
    public void testStatistic() throws Exception {
        BoundaryStatisticImpl stat = new BoundaryStatisticImpl("myBoundaryStat", "seconds", "myBoundaryStatDesc", 1000, 2000);
        assertStatistic(stat, "myBoundaryStat", "seconds", "myBoundaryStatDesc");

        assertEquals(1000, stat.getLowerBound());
        assertEquals(2000, stat.getUpperBound());

        log.info("Stat is: " + stat);
    }
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.