Class EnvironmentalPerformanceInformation
java.lang.Object
com.evolveum.midpoint.schema.statistics.EnvironmentalPerformanceInformation
Thread safety: Instances of this class may be accessed from more than one thread at once.
Updates are invoked in the context of the thread executing the task.
Queries are invoked either from this thread, or from some observer (task manager or GUI thread).
We ensure synchronization by making public methods synchronized. We don't expect much contention on this.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addTo
(EnvironmentalPerformanceInformationType rv, @Nullable EnvironmentalPerformanceInformationType delta) static String
format
(EnvironmentalPerformanceInformationType information) void
recordMappingOperation
(String objectOid, String objectName, String objectTypeName, String mappingName, long duration) void
recordNotificationOperation
(String transportName, boolean success, long duration) void
recordProvisioningOperation
(@NotNull ConnIdOperation operation) void
recordState
(String message)
-
Constructor Details
-
EnvironmentalPerformanceInformation
-
EnvironmentalPerformanceInformation
public EnvironmentalPerformanceInformation()
-
-
Method Details
-
getValueCopy
-
addTo
public static void addTo(EnvironmentalPerformanceInformationType rv, @Nullable @Nullable EnvironmentalPerformanceInformationType delta) -
recordProvisioningOperation
-
recordNotificationOperation
-
recordMappingOperation
-
getLastMessage
-
recordState
-
format
-