TraceCollectingStrategy

It is a strategy to collect trace: it can be full-track in memory or streaming to a file on-the-fly

Inheritors

Functions

Link copied to clipboard
abstract fun callEnded(thread: Thread, callTracepoint: TRMethodCallTracePoint)

Must be called when the method call is ended and the call stack is popped.

Link copied to clipboard
abstract fun completeThread(thread: Thread)

Makes sure that thread has written all of its recorded data.

Link copied to clipboard
abstract fun registerCurrentThread(threadId: Int)

Register current thread in strategy.

Link copied to clipboard
abstract fun traceEnded()

Must be called when trace is finished

Link copied to clipboard
abstract fun tracePointCreated(parent: TRMethodCallTracePoint?, created: TRTracePoint)

Must be called when a new tracepoint is created.