Class ThreadLocalOperationsMonitor
- java.lang.Object
 - 
- com.evolveum.midpoint.schema.internals.ThreadLocalOperationsMonitor
 
 
- 
public class ThreadLocalOperationsMonitor extends Object
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
Nested Classes Modifier and Type Class Description static classThreadLocalOperationsMonitor.ExecutedOperationsclassThreadLocalOperationsMonitor.OperationExecution 
- 
Constructor Summary
Constructors Constructor Description ThreadLocalOperationsMonitor() 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull ThreadLocalOperationsMonitorget()@NotNull OperationMonitoringConfigurationgetConfiguration()@NotNull ThreadLocalOperationsMonitor.ExecutedOperationsgetExecutedOperations()MonitoredOperationsStatisticsTypegetMonitoredOperationsRecord(@NotNull ThreadLocalOperationsMonitor.ExecutedOperations base)static voidrecordEnd(@NotNull MonitoredOperationType operation)Records the end of an operation - if applicable.static voidrecordEndEmbedded(ThreadLocalOperationsMonitor.OperationExecution execution)static voidrecordStart(@NotNull MonitoredOperationType operation)Records the start of an operation - if applicable.static @Nullable ThreadLocalOperationsMonitor.OperationExecutionrecordStartEmbedded(MonitoredOperationType operation)voidsetConfiguration(@NotNull OperationMonitoringConfiguration configuration) 
 - 
 
- 
- 
Method Detail
- 
recordStart
public static void recordStart(@NotNull @NotNull MonitoredOperationType operation)Records the start of an operation - if applicable. In this case the we are responsible for checking the applicability. 
- 
recordEnd
public static void recordEnd(@NotNull @NotNull MonitoredOperationType operation)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
public static void recordEndEmbedded(ThreadLocalOperationsMonitor.OperationExecution execution)
 
- 
get
@NotNull public static @NotNull ThreadLocalOperationsMonitor get()
 
- 
getConfiguration
@NotNull public @NotNull OperationMonitoringConfiguration getConfiguration()
 
- 
setConfiguration
public void setConfiguration(@NotNull @NotNull OperationMonitoringConfiguration configuration) 
- 
getMonitoredOperationsRecord
public MonitoredOperationsStatisticsType getMonitoredOperationsRecord(@NotNull @NotNull ThreadLocalOperationsMonitor.ExecutedOperations base)
 
- 
getExecutedOperations
@NotNull public @NotNull ThreadLocalOperationsMonitor.ExecutedOperations getExecutedOperations()
 
 - 
 
 -