Method Summary |
|
public static Monitor | add(String label, String units, double value) Aggregate the passed in value with the monitor associated with the label, and the units. |
public static Monitor | add(MonKey key, double value) Used when you want to create your own key for the monitor. |
public static void | disable() Disable MonitorFactory. |
public static void | enable() Enable MonitorFactory. |
public static void | enableGlobalActive(boolean enable) |
public static boolean | exists(String label, String units) Determine if the monitor associated with the label, and the units currently exists. |
public static boolean | exists(MonKey key) |
public static MonitorComposite | getComposite(String units) Return the composite monitor (a collection of monitors) associated with the passed in units. |
public static Object[][] | getData() This returns the data for basic data with no range info. |
public static MonitorFactoryInterface | getDebugFactory() Returns the factory for creating debug monitors. |
public static MonitorFactoryInterface | getFactory() |
public static String[] | getHeader() This returns the header for basic data with no range info in the header.
This method is deprecated. |
public static Monitor | getMonitor() |
public static Monitor | getMonitor(String label, String units) Return the monitor associated with the label, and units. |
public static Monitor | getMonitor(MonKey key) Get the monitor associated with the passed in key. |
public static int | getNumRows() This returns the number of monitors in this factory. |
public static String[] | getRangeHeader() Return the header for displaying what ranges are available. |
public static Object[][] | getRangeNames() Return the ranges in this factory. |
public static String | getReport() This returns an HTML report for basic data with no range info in the
header. |
public static String | getReport(String units) This returns an HTML report for basic data with no range info in the
header for the past in units. |
public static MonitorComposite | getRootMonitor() |
public static Monitor | getTimeMonitor(String label) Return the time monitor associated with the label. |
public static Monitor | getTimeMonitor(MonKey key) Get the time monitor associated with the passed in key. |
public static String | getVersion() |
public static boolean | isDebugEnabled() |
public static boolean | isEnabled() |
public static boolean | isGlobalActiveEnabled() |
public Iterator | iterator() |
public static void | main(String[] args) |
public static void | remove(String label, String units) |
public static void | remove(MonKey key) |
public static void | reset() Reset/remove all monitors. |
public static void | setDebugEnabled(boolean enable) Enable or disable the debug factory. |
public static void | setEnabled(boolean enable) Enable/Disable MonitorFactory. |
public static void | setMap(Map map) Use the specified map to hold the monitors. |
public static void | setRangeDefault(String key, RangeHolder rangeHolder) Associate a range with a key/unit. |
public static Monitor | start(String label) Return a timing monitor with units in milliseconds. |
public static Monitor | start() Return a timing monitor with units in milliseconds, that is not aggregated into the jamon stats. |
public static Monitor | start(MonKey key) Start using the passed in key. |
public static Monitor | startPrimary(String label) Return a timing monitor with units in milliseconds, that is not aggregated into the jamon stats. |
public static Monitor | startPrimary(MonKey key) |