All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ajjpj.asysmon.measure.AMeasurementHierarchy Maven / Gradle / Ivy

There is a newer version: 1.0-pre28
Show newest version
package com.ajjpj.asysmon.measure;


import com.ajjpj.asysmon.data.ACorrelationId;

/**
 * @author arno
 */
public interface AMeasurementHierarchy {
    String IDENT_SYNTHETIC_ROOT = "";

    ASimpleMeasurement start(String identifier, boolean isSerial);
    void finish(ASimpleSerialMeasurementImpl measurement);
    void finish(ASimpleParallelMeasurementImpl measurement);

    ACollectingMeasurement startCollectingMeasurement(String identifier, boolean isSerial);
    void finish(ACollectingMeasurement measurement);

    void onStartFlow(ACorrelationId flowId);
    void onJoinFlow(ACorrelationId flowId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy