Class ThreadLocalOperationsMonitor
java.lang.Object
com.evolveum.midpoint.schema.internals.ThreadLocalOperationsMonitor
Monitors operations for the current thread.
Information on these operations are then stored e.g. to operation result and available via tracing.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ThreadLocalOperationsMonitor
get()
@NotNull OperationMonitoringConfiguration
static void
recordEnd
(@NotNull MonitoredOperationType operation) Records the end of an operation - if applicable.static void
static void
recordStart
(@NotNull MonitoredOperationType operation) Records the start of an operation - if applicable.static @Nullable ThreadLocalOperationsMonitor.OperationExecution
recordStartEmbedded
(MonitoredOperationType operation) void
setConfiguration
(@NotNull OperationMonitoringConfiguration configuration)
-
Constructor Details
-
ThreadLocalOperationsMonitor
public ThreadLocalOperationsMonitor()
-
-
Method Details
-
recordStart
Records the start of an operation - if applicable. In this case the we are responsible for checking the applicability. -
recordEnd
Records the end of an operation - if applicable. In this case the we are responsible for checking the applicability. -
recordStartEmbedded
@Nullable public static @Nullable ThreadLocalOperationsMonitor.OperationExecution recordStartEmbedded(MonitoredOperationType operation) -
recordEndEmbedded
-
get
-
getConfiguration
-
setConfiguration
-
getMonitoredOperationsRecord
public MonitoredOperationsStatisticsType getMonitoredOperationsRecord(@NotNull @NotNull ThreadLocalOperationsMonitor.ExecutedOperations base) -
getExecutedOperations
-