| |
|
| java.lang.Object com.jamonapi.Monitor com.jamonapi.MonitorImp com.jamonapi.DecoMon
All known Subclasses: com.jamonapi.TimeMon,
DecoMon | class DecoMon extends MonitorImp (Code) | | This class is a wrapper for the internal data structure of a Monitor. It adds info specific to this monitor
too such as the details of the key. However, it uses the data of the underlying monitor (such as hits/total/avg etc).
DecoMon stood for decorator though I suspec that this is no longer the decorator pattern. It seems to be a useful
pattern of passing around hte internals and merging them with another classes differences though I am not sure what that
pattern is (similar to flyweight but with different intent).
author: ssouza |
DecoMon | public DecoMon(MonInternals monData)(Code) | | Creates a new instance of BaseMon. It takes a reference to the enabled monitor it calls
|
getMonKey | public MonKey getMonKey()(Code) | | Get the key for this monitor. Example: MonKey could contain "pageHits", "ms."
|
|
|
|