OnHprofRecordTagListener

fun interface OnHprofRecordTagListener

Listener passed in to StreamingHprofReader.readRecords, gets notified for each HprofRecordTag found in the heap dump.

Listener implementations are expected to read all bytes corresponding to a given tag from the provided reader before returning.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun onHprofRecord(    tag: HprofRecordTag,     length: Long,     reader: HprofRecordReader)