intarsys runtime library

de.intarsys.tools.monitor
Class MemberMonitor

java.lang.Object
  extended by de.intarsys.tools.monitor.AbstractMonitor
      extended by de.intarsys.tools.monitor.Monitor
          extended by de.intarsys.tools.monitor.MemberMonitor
All Implemented Interfaces:
IElementConfigurable, IMonitor

public class MemberMonitor
extends Monitor

A monitor for taking time samples in the application.


Field Summary
 
Fields inherited from class de.intarsys.tools.monitor.Monitor
ATTR_AVG, ATTR_COUNT, ATTR_EFFECTIVE, ATTR_FIRST, ATTR_LAST, ATTR_MAX, ATTR_MAXACTIVE, ATTR_MIN, ATTR_NAME, ATTR_TOTAL
 
Constructor Summary
MemberMonitor()
           
MemberMonitor(String name)
          Create instance
MemberMonitor(String name, Class clazz, Field field)
           
MemberMonitor(String name, Class clazz, Method method)
           
 
Method Summary
 void configure(Element element)
           
 
Methods inherited from class de.intarsys.tools.monitor.Monitor
getActive, getData, getFormattedData, isRelative, reset, setRelative, toString, toTableString
 
Methods inherited from class de.intarsys.tools.monitor.AbstractMonitor
attach, detach, getCollectAll, getCurrentTrace, getDefaultLevel, getLevel, getLogCycle, getLogger, getName, getTraces, setCollectAll, setDefaultLevel, setLevel, setLogCycle, setLogger, setName, start, stop
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemberMonitor

public MemberMonitor()

MemberMonitor

public MemberMonitor(String name)
Create instance

Parameters:
name - monitor name

MemberMonitor

public MemberMonitor(String name,
                     Class clazz,
                     Field field)

MemberMonitor

public MemberMonitor(String name,
                     Class clazz,
                     Method method)
Method Detail

configure

public void configure(Element element)
               throws ElementConfigurationException
Specified by:
configure in interface IElementConfigurable
Overrides:
configure in class Monitor
Throws:
ElementConfigurationException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.