/** Return the composite monitor of all monitors for this factory */ public static MonitorComposite getRootMonitor() { return factory.getRootMonitor(); }
/** Return the composite monitor of all monitors for this factory */ public static MonitorComposite getRootMonitor() { return factory.getRootMonitor(); }
/** * This returns an HTML report for basic data with no range info in the * header. * */ public static String getReport() { return factory.getRootMonitor().getReport(); }
/** This returns the header for basic data with no range info in the header. * This method is deprecated. use the methods associated with the CompositeMonitor. * The various getXXXHeader() methods of CompositeMonitors can return this information and more. */ @Deprecated public static String[] getHeader() { return factory.getRootMonitor().getBasicHeader(); }
/** * This returns the header for basic data with no range info in the header. * This method is deprecated. use the methods associated * * with the CompositeMonitor. The various getXXXHeader() methods of * CompositeMonitors can return this information and more. * * * * */ public static String[] getHeader() { return factory.getRootMonitor().getBasicHeader(); }
/** This returns the data for basic data with no range info. The various getXXXData() methods of * CompositeMonitors can return this information and more. */ public static Object[][] getData() { return factory.getRootMonitor().getBasicData(); }
/** This returns an HTML report for basic data with no range info in the header. */ public static String getReport() { return factory.getRootMonitor().getReport(); }
/** * This returns the data for basic data with no range info. * * The various getXXXData() methods of CompositeMonitors can return this * information and more. * * * * * */ public static Object[][] getData() { return factory.getRootMonitor().getBasicData(); }
private static ProfileMonitor[] getMonitorsFrom(final MonitorFactoryInterface factory) { MonitorComposite rootMonitor = factory.getRootMonitor(); Monitor[] monitors = rootMonitor.getMonitors(); if (monitors == null) { return new JamonMonitor[0]; } ProfileMonitor[] profMonitors = new JamonMonitor[monitors.length]; for (int i = 0; i < monitors.length; i++) { profMonitors[i] = new JamonMonitor(monitors[i]); } return profMonitors; }