Class EnvironmentalPerformanceInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.EnvironmentalPerformanceInformation
-
public class EnvironmentalPerformanceInformation extends Object
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
Constructors Constructor Description EnvironmentalPerformanceInformation()
EnvironmentalPerformanceInformation(EnvironmentalPerformanceInformationType value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addTo(EnvironmentalPerformanceInformationType rv, @Nullable EnvironmentalPerformanceInformationType delta)
static String
format(EnvironmentalPerformanceInformationType information)
StatusMessage
getLastMessage()
EnvironmentalPerformanceInformationType
getValueCopy()
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 Detail
-
EnvironmentalPerformanceInformation
public EnvironmentalPerformanceInformation(EnvironmentalPerformanceInformationType value)
-
EnvironmentalPerformanceInformation
public EnvironmentalPerformanceInformation()
-
-
Method Detail
-
getValueCopy
public EnvironmentalPerformanceInformationType getValueCopy()
-
addTo
public static void addTo(EnvironmentalPerformanceInformationType rv, @Nullable @Nullable EnvironmentalPerformanceInformationType delta)
-
recordProvisioningOperation
public void recordProvisioningOperation(@NotNull @NotNull ConnIdOperation operation)
-
recordNotificationOperation
public void recordNotificationOperation(String transportName, boolean success, long duration)
-
recordMappingOperation
public void recordMappingOperation(String objectOid, String objectName, String objectTypeName, String mappingName, long duration)
-
getLastMessage
public StatusMessage getLastMessage()
-
recordState
public void recordState(String message)
-
format
public static String format(EnvironmentalPerformanceInformationType information)
-
-