Class NoopDiagnosticCallStackFlushStrategy

java.lang.Object
io.higson.runtime.profiler.callstack.NoopDiagnosticCallStackFlushStrategy
All Implemented Interfaces:
DiagnosticCallStackFlushStrategy

public class NoopDiagnosticCallStackFlushStrategy extends Object implements DiagnosticCallStackFlushStrategy
Tester DiagnosticCallStackFlushStrategy: does nothing on flush.

Used by the tester path (wired in the core module's Spring context monitor) so that the thread-local DiagnosticCallStack is preserved after the engine/interceptor finishes its top-level frame. The tester reads the stack directly in DiagnosticParamService#stopDiagnostic and clears it there.

Does NOT clear the stack — that is intentional and part of the strategy contract.

  • Constructor Details

    • NoopDiagnosticCallStackFlushStrategy

      public NoopDiagnosticCallStackFlushStrategy()
  • Method Details