create a new measurement point with the name pointName. Priority is set
to 0.
Parameters: name - name of this measurement point Parameters: aOptions - options for this point
create a new measurement point with the name pointName. Priority is set
to aPriority.
Parameters: name - name of this measurement point Parameters: aPriority - priority of this point Parameters: aOptions - options for this point
Method Detail
activateMonitor
final public void activateMonitor(Monitor monitor)(Code)
one monitor has to be activated.
Parameters: monitor - the monitor that has been activated
final public void deathMonitor(Monitor monitor)(Code)
This methode will be called from the DefaultMonitor if the monitor will
be finalized before stopped. Or is you explicit call this methode for a
monitor. The active counting will be reduced and the death counting will
be increased.
Parameters: monitor - the monitor which is death. See Also:de.mcs.jmeasurement.MeasurePoint.deathMonitor(de.mcs.jmeasurement.Monitor)
This methode will return the call back object set with
setMeasureDataCallback(). This callback will be activate,
when monitor datas will be added to the measurement point.
Returns the measureDataCallback.
With this methode a call back object will be set. This callback will be
activate, when monitor datas will be added to the measurement point.
Parameters: aMeasureDataCallback - The measureDataCallback to set.
setPriority
final public void setPriority(int aPriority)(Code)
Converting all parameters of this measurepoint into an xml structure.
Parameters: writer - the writer to use for XML writing throws: SAXException - if something goes wrong in xml writing throws: IOException - serialisation of the user data could throw an exception.