Package com.jitlogic.zorka.core.perfmon

Examples of com.jitlogic.zorka.core.perfmon.ThreadRankLister


public class ThreadRankUnitTest extends ZorkaFixture {

    @Test
    public void testListSinglePass() {
        ThreadRankLister lister = new TestThreadRankLister(mBeanServerRegistry)
                .feed(1, "Thread-1", 100, 0)
                .feed(2, "Thread-2", 100, 0);

        lister.runCycle(100);

        List<ThreadRankItem> items = lister.list();
        assertEquals(2, items.size());
    }
View Full Code Here

TOP

Related Classes of com.jitlogic.zorka.core.perfmon.ThreadRankLister

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.