Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/StreamingHprofReader

StreamingHprofReader

[jvm]\ class StreamingHprofReader

Reads the entire content of a Hprof source in one fell swoop. Call readerFor to obtain a new instance.

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
asStreamingRecordReader [jvm]
fun StreamingHprofReader.asStreamingRecordReader(): StreamingRecordReaderAdapter
readRecords [jvm]
fun readRecords(recordTags: Set<HprofRecordTag>, listener: OnHprofRecordTagListener): Long
Obtains a new source to read all hprof records from and calls listener back for each record that matches one of the provided recordTags.