Package com.sun.enterprise.admin.monitor.stats.spi

Examples of com.sun.enterprise.admin.monitor.stats.spi.JVMThreadInfoStatsImpl


        long ids[] = bean.getAllThreadIds();
        for(int i=0; i < ids.length; i++) {
            ThreadInfo info = bean.getThreadInfo(ids[i], STACK_DEPTH);
            String threadName = THREAD_NODE_NAME + "-" + ids[i];
            StatsHolder childNode = threadSystemNode.addChild(threadName, MonitoredObjectType.JVM_THREAD_INFO);
            childNode.setStats(new JVMThreadInfoStatsImpl(info));
            childNode.setStatsClass(com.sun.enterprise.admin.monitor.stats.JVMThreadInfoStats.class);
            childNode.setDottedName(DottedNameFactory.getJVMThreadInfoDottedName(threadName));
            childNode.setObjectName(MonitoringObjectNames.getJVMThreadInfoObjectName(threadName));
            childNode.registerMBean();
        }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.monitor.stats.spi.JVMThreadInfoStatsImpl

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.