Class ProvisioningStatistics
java.lang.Object
com.evolveum.midpoint.schema.statistics.ProvisioningStatistics
This is "live" provisioning statistics.
Thread safety: Must be thread safe.
1. Updates are invoked in the context of the thread executing the task.
2. But queries are invoked either from this thread, or from some observer (task manager or GUI thread).
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addTo
(@NotNull ProvisioningStatisticsType sum, @NotNull ProvisioningStatisticsType delta) Updates specified summary with given delta.static String
format
(ProvisioningStatisticsType source) static String
format
(ProvisioningStatisticsType source, AbstractStatisticsPrinter.Options options) Formats the information.Returns a current value of this statistics.void
recordProvisioningOperation
(@NotNull ConnIdOperation operation)
-
Constructor Details
-
ProvisioningStatistics
public ProvisioningStatistics() -
ProvisioningStatistics
-
-
Method Details
-
getValueCopy
Returns a current value of this statistics. It is copied because of thread safety issues. -
recordProvisioningOperation
-
addTo
public static void addTo(@NotNull @NotNull ProvisioningStatisticsType sum, @NotNull @NotNull ProvisioningStatisticsType delta) Updates specified summary with given delta. -
format
-
format
public static String format(ProvisioningStatisticsType source, AbstractStatisticsPrinter.Options options) Formats the information.
-