Class TaskOperationStatsUtil
java.lang.Object
com.evolveum.midpoint.schema.util.task.TaskOperationStatsUtil
Utility methods related to task operation statistics.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringformat(OperationStatsType statistics) static OperationStatsTypegetOperationStatsFromTree(TaskType root, PrismContext prismContext) Provides 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
-
TaskOperationStatsUtil
public TaskOperationStatsUtil()
-
-
Method Details
-
getOperationStatsFromTree
public static OperationStatsType getOperationStatsFromTree(TaskType root, PrismContext prismContext) Provides 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: 1. cachesPerformanceInformation, 2. operationsPerformanceInformation, 3. cachingConfiguration. -
isEmpty
-
isEmpty
-
isEmpty
-
isEmpty
-
sum
Computes a sum of two operation statistics. Returns a modifiable object, independent from the source ones. -
format
-