Package-level declarations
Types
Link copied to clipboard
class FileStreamingTraceCollecting(dataStream: OutputStream, indexStream: OutputStream, val context: TraceContext) : TraceCollectingStrategy, ContextSavingState
Link copied to clipboard
This needs a file name as it uses a seekable file channel, it is easier than seekable stream
Link copied to clipboard
Link copied to clipboard
interface TraceCollectingStrategy
It is a strategy to collect trace: it can be full-track in memory or streaming to a file on-the-fly
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TRMethodCallTracePoint(val threadId: Int, val codeLocationId: Int, val methodId: Int, val obj: TRObject?, val parameters: List<TRObject?>, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRTracePoint
Link copied to clipboard
class TRReadArrayTracePoint(val threadId: Int, val codeLocationId: Int, val array: TRObject, val index: Int, val value: TRObject?, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRArrayTracePoint
Link copied to clipboard
class TRReadLocalVariableTracePoint(val threadId: Int, val codeLocationId: Int, val localVariableId: Int, val value: TRObject?, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRLocalVariableTracePoint
Link copied to clipboard
class TRReadTracePoint(val threadId: Int, val codeLocationId: Int, val fieldId: Int, val obj: TRObject?, val value: TRObject?, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRFieldTracePoint
Link copied to clipboard
Link copied to clipboard
class TRWriteArrayTracePoint(val threadId: Int, val codeLocationId: Int, val array: TRObject, val index: Int, val value: TRObject?, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRArrayTracePoint
Link copied to clipboard
class TRWriteLocalVariableTracePoint(val threadId: Int, val codeLocationId: Int, val localVariableId: Int, val value: TRObject?, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRLocalVariableTracePoint
Link copied to clipboard
class TRWriteTracePoint(val threadId: Int, val codeLocationId: Int, val fieldId: Int, val obj: TRObject?, val value: TRObject?, val eventId: Int = EVENT_ID_GENERATOR.getAndIncrement()) : TRFieldTracePoint
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun printRecorderTrace(output: OutputStream, context: TraceContext, rootCallsPerThread: List<TRTracePoint>, verbose: Boolean)
fun printRecorderTrace(fileName: String?, context: TraceContext, rootCallsPerThread: List<TRTracePoint>, verbose: Boolean)
Link copied to clipboard
fun saveRecorderTrace(baseFileName: String, context: TraceContext, rootCallsPerThread: List<TRTracePoint>)
Top-level function to save full-depth recorded trace old-style (all in once)
fun saveRecorderTrace(data: OutputStream, index: OutputStream, context: TraceContext, rootCallsPerThread: List<TRTracePoint>)
Link copied to clipboard
Link copied to clipboard