Interface ProcessAnalyticsTracer
-
public interface ProcessAnalyticsTracer
This interface defines a collect tracer. This tracer must be used to collect data during a process.- Author:
- pchretien, npiedeloup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessAnalyticsTracer
addTag(String name, String value)
Sets a value to a specific tag.ProcessAnalyticsTracer
incMeasure(String name, double value)
Increments a measure (creates if not exists).ProcessAnalyticsTracer
setMeasure(String name, double value)
Sets a value to the measure.
-
-
-
Method Detail
-
incMeasure
ProcessAnalyticsTracer incMeasure(String name, double value)
Increments a measure (creates if not exists).- Parameters:
name
- the name of the measurevalue
- the increment of the measure- Returns:
- this tracer
-
setMeasure
ProcessAnalyticsTracer setMeasure(String name, double value)
Sets a value to the measure. (cleans if exists) You should use it when you have an exception. so you define explicitly one single value.- Parameters:
name
- the name of the measurevalue
- the value of the measure- Returns:
- this tracer
-
addTag
ProcessAnalyticsTracer addTag(String name, String value)
Sets a value to a specific tag. (cleans if exists)- Parameters:
name
- the name of the tagvalue
- the value of the tag- Returns:
- this tracer
-
-