Class SqlPerformanceMonitorImpl
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.perfmon.SqlPerformanceMonitorImpl
- All Implemented Interfaces:
PerformanceMonitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetFinishedOperations(String kind) intregisterOperationFinish(long opHandle, int attempt) voidregisterOperationNewAttempt(long opHandle, int attempt) longregisterOperationStart(String kind, Class<?> objectType) voidsetConfiguration(RepositoryStatisticsReportingConfigurationType configuration) voidshutdown()voidStarts gathering thread-local performance information, clearing existing (if any).voidStops gathering thread-local performance information, clearing existing (if any).
-
Field Details
-
LEVEL_NONE
public static final int LEVEL_NONE- See Also:
-
LEVEL_GLOBAL_STATISTICS
public static final int LEVEL_GLOBAL_STATISTICS- See Also:
-
LEVEL_LOCAL_STATISTICS
public static final int LEVEL_LOCAL_STATISTICS- See Also:
-
LEVEL_DETAILS
public static final int LEVEL_DETAILS- See Also:
-
-
Constructor Details
-
SqlPerformanceMonitorImpl
-
-
Method Details
-
clearGlobalPerformanceInformation
public void clearGlobalPerformanceInformation()- Specified by:
clearGlobalPerformanceInformationin interfacePerformanceMonitor
-
getGlobalPerformanceInformation
- Specified by:
getGlobalPerformanceInformationin interfacePerformanceMonitor
-
startThreadLocalPerformanceInformationCollection
public void startThreadLocalPerformanceInformationCollection()Description copied from interface:PerformanceMonitorStarts gathering thread-local performance information, clearing existing (if any).- Specified by:
startThreadLocalPerformanceInformationCollectionin interfacePerformanceMonitor
-
getThreadLocalPerformanceInformation
- Specified by:
getThreadLocalPerformanceInformationin interfacePerformanceMonitor
-
stopThreadLocalPerformanceInformationCollection
public void stopThreadLocalPerformanceInformationCollection()Description copied from interface:PerformanceMonitorStops gathering thread-local performance information, clearing existing (if any).- Specified by:
stopThreadLocalPerformanceInformationCollectionin interfacePerformanceMonitor
-
shutdown
public void shutdown() -
registerOperationStart
-
registerOperationFinish
-
registerOperationNewAttempt
public void registerOperationNewAttempt(long opHandle, int attempt) -
getFinishedOperations
-
getFinishedOperationsCount
-
setConfiguration
- Specified by:
setConfigurationin interfacePerformanceMonitor
-