Class ProvisioningStatistics
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.ProvisioningStatistics
-
public class ProvisioningStatistics extends Object
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
Constructors Constructor Description ProvisioningStatistics()
ProvisioningStatistics(ProvisioningStatisticsType value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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.ProvisioningStatisticsType
getValueCopy()
Returns a current value of this statistics.void
recordProvisioningOperation(@NotNull ConnIdOperation operation)
-
-
-
Constructor Detail
-
ProvisioningStatistics
public ProvisioningStatistics()
-
ProvisioningStatistics
public ProvisioningStatistics(ProvisioningStatisticsType value)
-
-
Method Detail
-
getValueCopy
public ProvisioningStatisticsType getValueCopy()
Returns a current value of this statistics. It is copied because of thread safety issues.
-
recordProvisioningOperation
public void recordProvisioningOperation(@NotNull @NotNull ConnIdOperation operation)
-
addTo
public static void addTo(@NotNull @NotNull ProvisioningStatisticsType sum, @NotNull @NotNull ProvisioningStatisticsType delta)
Updates specified summary with given delta.
-
format
public static String format(ProvisioningStatisticsType source)
-
format
public static String format(ProvisioningStatisticsType source, AbstractStatisticsPrinter.Options options)
Formats the information.
-
-