Class ProfilingModelInspector
java.lang.Object
com.evolveum.midpoint.model.common.util.ProfilingModelInspector
- All Implemented Interfaces:
- ClockworkInspector,- RepositoryPerformanceMonitor,- DiagnosticContext,- DebugDumpable
public class ProfilingModelInspector
extends Object
implements DiagnosticContext, ClockworkInspector, RepositoryPerformanceMonitor, DebugDumpable
- 
Field SummaryFieldsFields inherited from interface com.evolveum.midpoint.util.DebugDumpableINDENT_STRING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<F extends ObjectType>
 voidafterMappingEvaluation(ModelContext<F> context, Mapping<?, ?> evaluatedMapping) May be used to gather profiling data, etc.<F extends ObjectType>
 voidclockworkFinish(ModelContext<F> context) <F extends ObjectType>
 voidclockworkStart(ModelContext<F> context) <F extends ObjectType>
 voidclockworkStateSwitch(ModelContext<F> contextBefore, ModelState newState) debugDump(int indent) ModelContext<?>voidprojectorComponentFinish(String componentName) voidprojectorComponentSkip(String componentName) voidprojectorComponentStart(String componentName) <F extends ObjectType>
 voidprojectorFinish(ModelContext<F> context) <F extends ObjectType>
 voidprojectorStart(ModelContext<F> context) voidvoidrecordRepoOperation(long durationMillis) voidvoidreset()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpabledebugDump, debugDumpLazily, debugDumpLazily
- 
Field Details- 
LOGGER
 
- 
- 
Constructor Details- 
ProfilingModelInspectorpublic ProfilingModelInspector()
 
- 
- 
Method Details- 
recordStartpublic void recordStart()
- 
recordFinishpublic void recordFinish()
- 
resetpublic void reset()
- 
clockworkStart- Specified by:
- clockworkStartin interface- ClockworkInspector
 
- 
clockworkFinish- Specified by:
- clockworkFinishin interface- ClockworkInspector
 
- 
clockworkStateSwitchpublic <F extends ObjectType> void clockworkStateSwitch(ModelContext<F> contextBefore, ModelState newState) - Specified by:
- clockworkStateSwitchin interface- ClockworkInspector
 
- 
projectorStart- Specified by:
- projectorStartin interface- ClockworkInspector
 
- 
projectorFinish- Specified by:
- projectorFinishin interface- ClockworkInspector
 
- 
getLastLensContext
- 
afterMappingEvaluationpublic <F extends ObjectType> void afterMappingEvaluation(ModelContext<F> context, Mapping<?, ?> evaluatedMapping) Description copied from interface:ClockworkInspectorMay be used to gather profiling data, etc.- Specified by:
- afterMappingEvaluationin interface- ClockworkInspector
 
- 
projectorComponentSkip- Specified by:
- projectorComponentSkipin interface- ClockworkInspector
 
- 
projectorComponentStart- Specified by:
- projectorComponentStartin interface- ClockworkInspector
 
- 
projectorComponentFinish- Specified by:
- projectorComponentFinishin interface- ClockworkInspector
 
- 
recordRepoOperationpublic void recordRepoOperation(long durationMillis) - Specified by:
- recordRepoOperationin interface- RepositoryPerformanceMonitor
 
- 
debugDump- Specified by:
- debugDumpin interface- DebugDumpable
 
 
-