Class ActionsExecutedInformation
- java.lang.Object
-
- com.evolveum.midpoint.schema.statistics.ActionsExecutedInformation
-
public class ActionsExecutedInformation extends Object
Thread safety: Just like EnvironmentalPerformanceInformation, 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). However, the updates should come from a single thread! Otherwise the "actions boundaries" will not be applied correctly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionsExecutedInformation.Part
-
Constructor Summary
Constructors Constructor Description ActionsExecutedInformation(ActionsExecutedInformationType value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addTo(ActionsExecutedInformationType sum, @Nullable ActionsExecutedInformationType delta)
static void
addTo(List<ObjectActionsExecutedEntryType> sumEntries, List<ObjectActionsExecutedEntryType> deltaEntries)
static @NotNull String
format(@NotNull ActionsExecutedInformationType information)
static @NotNull String
format(@NotNull ActionsExecutedInformationType information, ActionsExecutedInformation.Part part)
ActionsExecutedInformationType
getAggregatedValue()
void
markObjectActionExecutedBoundary()
void
recordObjectActionExecuted(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception)
-
-
-
Constructor Detail
-
ActionsExecutedInformation
public ActionsExecutedInformation(ActionsExecutedInformationType value)
-
-
Method Detail
-
getAggregatedValue
public ActionsExecutedInformationType getAggregatedValue()
-
addTo
public static void addTo(ActionsExecutedInformationType sum, @Nullable @Nullable ActionsExecutedInformationType delta)
-
addTo
public static void addTo(List<ObjectActionsExecutedEntryType> sumEntries, List<ObjectActionsExecutedEntryType> deltaEntries)
-
recordObjectActionExecuted
public void recordObjectActionExecuted(String objectName, String objectDisplayName, QName objectType, String objectOid, ChangeType changeType, String channel, Throwable exception)
-
markObjectActionExecutedBoundary
public void markObjectActionExecutedBoundary()
-
format
@NotNull public static @NotNull String format(@NotNull @NotNull ActionsExecutedInformationType information)
-
format
@NotNull public static @NotNull String format(@NotNull @NotNull ActionsExecutedInformationType information, ActionsExecutedInformation.Part part)
-
-