Class TransientActivityRunStatistics
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.TransientActivityRunStatistics
Maintains selected statistical information related to processing items in a current activity run.
It is like a simplified version of
ActivityItemProcessingStatistics
that ignore previous activity runs
and different types of outcome (distinguishing only errors and non-errors).
Must be thread safe.-
Field Details
-
startTimeMillis
protected volatile long startTimeMillisThe wall clock time when activity run started.
-
-
Constructor Details
-
TransientActivityRunStatistics
public TransientActivityRunStatistics()
-
-
Method Details
-
update
-
getAverageTime
-
getProcessingTime
public final double getProcessingTime() -
getStartTimeMillis
public long getStartTimeMillis() -
getErrors
public int getErrors() -
getItemsProcessed
public int getItemsProcessed() -
getLastErrorMessage
-