Class CachePerformanceCollector
java.lang.Object
com.evolveum.midpoint.util.caching.CachePerformanceCollector
- All Implemented Interfaces:
DebugDumpable
Temporary implementation.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
debugDump
(int indent) static boolean
void
registerHit
(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) void
registerMiss
(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) void
registerNotAvailable
(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) void
registerOverSizedQuery
(Class<?> type) void
registerPass
(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) void
registerSkippedStaleData
(Class<?> type) void
registerWeakHit
(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) void
Starts gathering thread-local performance information, clearing existing (if any).void
Stops gathering thread-local performance information, clearing existing (if any).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CachePerformanceCollector
public CachePerformanceCollector()
-
-
Method Details
-
registerHit
public void registerHit(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) -
registerWeakHit
public void registerWeakHit(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) -
registerMiss
public void registerMiss(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) -
registerPass
public void registerPass(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) -
registerNotAvailable
public void registerNotAvailable(Class<?> cacheClass, Class<?> type, CacheConfiguration.StatisticsLevel statisticsLevel) -
registerSkippedStaleData
-
registerOverSizedQuery
-
clear
public void clear() -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
getGlobalPerformanceMap
-
getThreadLocalPerformanceMap
-
startThreadLocalPerformanceInformationCollection
public void startThreadLocalPerformanceInformationCollection()Starts gathering thread-local performance information, clearing existing (if any). -
stopThreadLocalPerformanceInformationCollection
public void stopThreadLocalPerformanceInformationCollection()Stops gathering thread-local performance information, clearing existing (if any). -
isExtra
-