Class QueueDiagnosticCallStackFlushStrategy

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

public class QueueDiagnosticCallStackFlushStrategy extends Object implements DiagnosticCallStackFlushStrategy
Production DiagnosticCallStackFlushStrategy: builds a DiagnosticCallStackReport, enqueues it on the DiagnosticQueue, then clears the thread-local DiagnosticCallStack.

Used by DiagnosticHigsonEngine and DiagnosticAttributeInterceptor at runtime when profilerEnabled = true and no custom strategy is provided.

  • Constructor Details

    • QueueDiagnosticCallStackFlushStrategy

      public QueueDiagnosticCallStackFlushStrategy()
  • Method Details