Examples of markEnter()


Examples of com.jitlogic.zorka.common.stats.MethodCallStatistic.markEnter()

        if (0 != (actions & ACTION_STATS)) {
            submit(record, statistic);
        }

        if (0 != (actions & ACTION_ENTER)) {
            statistic.markEnter();
        }

        if (0 != (actions & ACTION_EXIT)) {
            statistic.markExit();
        }
View Full Code Here

Examples of com.jitlogic.zorka.common.stats.MethodCallStatistic.markEnter()

    @Test
    public void testThreadCounter() throws Exception {
        MethodCallStatistic stat = new MethodCallStatistic("A");

        stat.markEnter();
        assertEquals(1L, stat.getMaxThreads());
        assertEquals(1L, stat.getCurThreads());

        stat.markExit();
        assertEquals(1L, stat.getMaxThreads());
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.