Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/OnHprofRecordTagListener

OnHprofRecordTagListener

[jvm]\ 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.

Functions

Name Summary
onHprofRecord [jvm]
abstract fun onHprofRecord(tag: HprofRecordTag, length: Long, reader: HprofRecordReader)