Class ProfilingDataManager
- java.lang.Object
-
- com.evolveum.midpoint.util.aspect.ProfilingDataManager
-
public final class ProfilingDataManager extends Object
IMPORTANT NOTES: 1. Default dump interval is set to 30 minutes This is a Singleton Class ProfilingDataManager serves as a head of profiling data manipulation, configuration and dumping to log. Some of processes in this class are synchronized for obvious reasons.- Author:
- shood
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProfilingDataManager.Subsystem
-
Field Summary
Fields Modifier and Type Field Description static String
INDENT_STRING
static List<ProfilingDataManager.Subsystem>
SUBSYSTEMS
-
Method Summary
-
-
-
Field Detail
-
SUBSYSTEMS
public static final List<ProfilingDataManager.Subsystem> SUBSYSTEMS
-
INDENT_STRING
public static final String INDENT_STRING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ProfilingDataManager getInstance()
-
configureProfilingDataManager
public void configureProfilingDataManager(Map<ProfilingDataManager.Subsystem,Boolean> profiledSubsystems, Integer dumpInterval, boolean subsystemProfilingActive, boolean performance, boolean request)
-
configureProfilingDataManagerForTest
public void configureProfilingDataManagerForTest(Map<ProfilingDataManager.Subsystem,Boolean> subsystems, boolean performance)
-
applyGranularityFilterOnEnd
public void applyGranularityFilterOnEnd(String className, String methodName, Object[] args, ProfilingDataManager.Subsystem subsystem, long startTime, long processingStartTime)
-
prepareRequestProfilingEvent
public void prepareRequestProfilingEvent(ProfilingDataLog requestEvent)
-
dumpToLog
public void dumpToLog()
-
printEverything
public void printEverything(boolean afterTest)
-
subsystemConfiguration
public void subsystemConfiguration(Map<ProfilingDataManager.Subsystem,Boolean> subsystems)
-
getPerformanceMap
public Map<String,MethodUsageStatistics> getPerformanceMap()
-
getMinuteDumpInterval
public int getMinuteDumpInterval()
-
appendProfilingToTest
public void appendProfilingToTest()
-
stopProfilingAfterTest
public void stopProfilingAfterTest()
-
printMapAfterTest
public void printMapAfterTest()
-
getProfilingData
public Map<String,MethodUsageStatistics> getProfilingData()
-
-