Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/HeapAnalysisFailure

HeapAnalysisFailure

data class HeapAnalysisFailure(val heapDumpFile: File, val createdAtTimeMillis: Long, val dumpDurationMillis: Long = DUMP_DURATION_UNKNOWN, val analysisDurationMillis: Long, val exception: HeapAnalysisException) : HeapAnalysis

The analysis performed by HeapAnalyzer did not complete successfully.

Constructors

HeapAnalysisFailure fun HeapAnalysisFailure(heapDumpFile: File, createdAtTimeMillis: Long, dumpDurationMillis: Long = DUMP_DURATION_UNKNOWN, analysisDurationMillis: Long, exception: HeapAnalysisException)

Types

Name Summary
Companion object Companion

Functions

Name Summary
toString open override fun toString(): String

Properties

Name Summary
analysisDurationMillis open override val analysisDurationMillis: Long
Total time spent analyzing the heap.
createdAtTimeMillis open override val createdAtTimeMillis: Long
The System.currentTimeMillis when this HeapAnalysis instance was created.
dumpDurationMillis open override val dumpDurationMillis: Long
Total time spent dumping the heap.
exception val exception: HeapAnalysisException
An exception wrapping the actual exception that was thrown.
heapDumpFile open override val heapDumpFile: File
The hprof file that was analyzed.