Class SqlPerformanceMonitorImpl
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.perfmon.SqlPerformanceMonitorImpl
- All Implemented Interfaces:
PerformanceMonitor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getFinishedOperations
(String kind) int
registerOperationFinish
(long opHandle, int attempt) void
registerOperationNewAttempt
(long opHandle, int attempt) long
registerOperationStart
(String kind, Class<?> objectType) void
setConfiguration
(RepositoryStatisticsReportingConfigurationType configuration) void
shutdown()
void
Starts gathering thread-local performance information, clearing existing (if any).void
Stops 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:
clearGlobalPerformanceInformation
in interfacePerformanceMonitor
-
getGlobalPerformanceInformation
- Specified by:
getGlobalPerformanceInformation
in interfacePerformanceMonitor
-
startThreadLocalPerformanceInformationCollection
public void startThreadLocalPerformanceInformationCollection()Description copied from interface:PerformanceMonitor
Starts gathering thread-local performance information, clearing existing (if any).- Specified by:
startThreadLocalPerformanceInformationCollection
in interfacePerformanceMonitor
-
getThreadLocalPerformanceInformation
- Specified by:
getThreadLocalPerformanceInformation
in interfacePerformanceMonitor
-
stopThreadLocalPerformanceInformationCollection
public void stopThreadLocalPerformanceInformationCollection()Description copied from interface:PerformanceMonitor
Stops gathering thread-local performance information, clearing existing (if any).- Specified by:
stopThreadLocalPerformanceInformationCollection
in interfacePerformanceMonitor
-
shutdown
public void shutdown() -
registerOperationStart
-
registerOperationFinish
-
registerOperationNewAttempt
public void registerOperationNewAttempt(long opHandle, int attempt) -
getFinishedOperations
-
getFinishedOperationsCount
-
setConfiguration
- Specified by:
setConfiguration
in interfacePerformanceMonitor
-