Examples of JvmstatModel


Examples of com.sun.tools.visualvm.tools.jvmstat.JvmstatModel

        SimpleXYChartSupport freeLiveChart = createChart(DataTypeEnum.BYTES, ChartTypeEnum.LINE, "Free & live space",
                new String[]{"Free space", "Live space"}, "<html>Time</html>", "<html>Bytes</html>",
                new String[]{GcDataCollector.FREE_SPACE_KEY, GcDataCollector.LIVE_SPACE_KEY});
        dvc.addDetailsView(new DataViewComponent.DetailsView("Free & live space", "description", 0, freeLiveChart.getChart(), null), DataViewComponent.BOTTOM_RIGHT);

        final JvmstatModel model = JvmstatModelFactory.getJvmstatFor(application);
        final GcPauseMonitor monitor = new GcPauseMonitor(new GcDataCollector(model, charts));
        new Thread(monitor).start();

        return dvc;
    }
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.