Class TaskOperationStatsUtil
java.lang.Object
com.evolveum.midpoint.schema.util.task.TaskOperationStatsUtil
Utility methods related to task operation statistics.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Stringformat(OperationStatsType statistics) static OperationStatsTypeProvides aggregated operation statistics from this task and all its subtasks.static booleanstatic booleanisEmpty(MappingsStatisticsType mappingsStatistics) static booleanisEmpty(NotificationsStatisticsType notificationsStatistics) static booleanisEmpty(ProvisioningStatisticsType provisioningStatistics) static OperationStatsTypeComputes a sum of two operation statistics.
- 
Constructor Details- 
TaskOperationStatsUtilpublic TaskOperationStatsUtil()
 
- 
- 
Method Details- 
getOperationStatsFromTreeProvides aggregated operation statistics from this task and all its subtasks. Works with stored operation stats, obviously. (We have no task instances here.) Assumes that the task has all subtasks filled-in. Currently does NOT support some low-level performance statistics, namely: . cachesPerformanceInformation, . cachingConfiguration.
- 
isEmpty
- 
isEmpty
- 
isEmpty
- 
isEmpty
- 
sumComputes a sum of two operation statistics. Returns a modifiable object, independent from the source ones.
- 
format
 
-