Interface ClockworkInspector

All Superinterfaces:
DebugDumpable, DiagnosticContext
All Known Implementing Classes:
ProfilingModelInspector

public interface ClockworkInspector extends DiagnosticContext
Interface used to intercept the ModelContext as it passes through the computation. It is mostly used in tests. EXPERIMENTAL
Author:
Radovan Semancik
  • Method Details

    • clockworkStart

      <F extends ObjectType> void clockworkStart(ModelContext<F> context)
    • clockworkStateSwitch

      <F extends ObjectType> void clockworkStateSwitch(ModelContext<F> contextBefore, ModelState newState)
    • clockworkFinish

      <F extends ObjectType> void clockworkFinish(ModelContext<F> context)
    • projectorStart

      <F extends ObjectType> void projectorStart(ModelContext<F> context)
    • projectorComponentSkip

      void projectorComponentSkip(String componentName)
    • projectorComponentStart

      void projectorComponentStart(String componentName)
    • projectorComponentFinish

      void projectorComponentFinish(String componentName)
    • projectorFinish

      <F extends ObjectType> void projectorFinish(ModelContext<F> context)
    • afterMappingEvaluation

      <F extends ObjectType> void afterMappingEvaluation(ModelContext<F> context, Mapping<?,?> evaluatedMapping)
      May be used to gather profiling data, etc.