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 Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier 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<?>
void
projectorComponentFinish
(String componentName) void
projectorComponentSkip
(String componentName) void
projectorComponentStart
(String componentName) <F extends ObjectType>
voidprojectorFinish
(ModelContext<F> context) <F extends ObjectType>
voidprojectorStart
(ModelContext<F> context) void
void
recordRepoOperation
(long durationMillis) void
void
reset()
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
-
LOGGER
-
-
Constructor Details
-
ProfilingModelInspector
public ProfilingModelInspector()
-
-
Method Details
-
recordStart
public void recordStart() -
recordFinish
public void recordFinish() -
reset
public void reset() -
clockworkStart
- Specified by:
clockworkStart
in interfaceClockworkInspector
-
clockworkFinish
- Specified by:
clockworkFinish
in interfaceClockworkInspector
-
clockworkStateSwitch
public <F extends ObjectType> void clockworkStateSwitch(ModelContext<F> contextBefore, ModelState newState) - Specified by:
clockworkStateSwitch
in interfaceClockworkInspector
-
projectorStart
- Specified by:
projectorStart
in interfaceClockworkInspector
-
projectorFinish
- Specified by:
projectorFinish
in interfaceClockworkInspector
-
getLastLensContext
-
afterMappingEvaluation
public <F extends ObjectType> void afterMappingEvaluation(ModelContext<F> context, Mapping<?, ?> evaluatedMapping) Description copied from interface:ClockworkInspector
May be used to gather profiling data, etc.- Specified by:
afterMappingEvaluation
in interfaceClockworkInspector
-
projectorComponentSkip
- Specified by:
projectorComponentSkip
in interfaceClockworkInspector
-
projectorComponentStart
- Specified by:
projectorComponentStart
in interfaceClockworkInspector
-
projectorComponentFinish
- Specified by:
projectorComponentFinish
in interfaceClockworkInspector
-
recordRepoOperation
public void recordRepoOperation(long durationMillis) - Specified by:
recordRepoOperation
in interfaceRepositoryPerformanceMonitor
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-