Examples of ProfileCollector


Examples of com.sun.sgs.profile.ProfileCollector

                                ProfileLevel.MIN);
    }
   
    @Test
    public void testCounterName() throws Exception {
        ProfileCollector collector = getCollector(serverNode);
        ProfileConsumer cons1 = collector.getConsumer("c1");
        ProfileConsumer cons2 = collector.getConsumer("c2");
        String name = "taskcounter";
        {
            ProfileCounter counter1 =
                    cons1.createCounter(name,
                                        ProfileDataType.TASK, ProfileLevel.MAX);
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.