| java.lang.Object com.jamonapi.FactoryEnabled
FactoryEnabled | public class FactoryEnabled implements MonitorFactoryInterface(Code) | | Factory that creates Monitors. This can be created directly. MonitorFactory is simply
a wrapper that makes calling this class simpler. MonitorFactory contains a static reference to
a FactoryEnabled class.
author: steve souza |
Constructor Summary | |
public | FactoryEnabled() Creates a new instance of MonFactoryEnabled. |
FactoryEnabled | public FactoryEnabled()(Code) | | Creates a new instance of MonFactoryEnabled. Also initializes the standard
JAMon time monitor range (ms.)
|
enableGlobalActive | public void enableGlobalActive(boolean enable)(Code) | | |
getComposite | public MonitorComposite getComposite(String units)(Code) | | Pass in the units (or range type) and return all monitors of that
type. 'AllMonitors' is a special argument returns a composite of surprise surprise all monitors
getComposite("AllMonitors") is the same as getRootMonitor() ;
|
getNumRows | public int getNumRows()(Code) | | |
getRootMonitor | public MonitorComposite getRootMonitor()(Code) | | getComposite("AllMonitors") is the same as getRootMonitor()
|
isGlobalActiveEnabled | public boolean isGlobalActiveEnabled()(Code) | | |
reset | public synchronized void reset()(Code) | | Wipe out existing jamon data. Same as instantiating a new FactoryEnabled object.
|
setMap | public void setMap(Map map)(Code) | | allows for using a faster/open source map
|
setRangeDefault | public void setRangeDefault(String key, RangeHolder rangeHolder)(Code) | | Note if a null is passed in it will have the same effect as an empty
RangeHolder (i.e. it will perform null operations)
|
|
|