de.mcs.jmeasurement.MeasureDataCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JMeasurement Show documentation
Show all versions of JMeasurement Show documentation
JMeasurement profiling programs in production enviroment
/*
* MCS Media Computer Software Copyright (c) 2005 by MCS
* -------------------------------------- Created on 23.04.2005 by w.klaas
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package de.mcs.jmeasurement;
/**
* This is the Interface for the a callback when updating. If you plan to be
* informed about updating a measurepoint, you must implement this interface and
* call setMeasureDataCallback() in the MeasureFactory.
*
* @see de.mcs.jmeasurement.MeasureFactory#setMeasureDataCallback(MeasureDataCallback)
* @author w.klaas
*/
public interface MeasureDataCallback {
/**
* This is the call back funktion. It will be called everytime after a
* monitor was stopped and before the data will be inserted into the
* pointdata.
*
* @param point
* the measurepoint, where the data will be added.
* @param monitor
* the monitor with the data to be added.
*/
void setMonitor(MeasurePoint point, Monitor monitor);
}