Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/shark/HeapAnalysisFailure

HeapAnalysisFailure

[jvm]\ 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 [jvm]
constructor(heapDumpFile: File, createdAtTimeMillis: Long, dumpDurationMillis: Long = DUMP_DURATION_UNKNOWN, analysisDurationMillis: Long, exception: HeapAnalysisException)

Types

Name Summary
Companion [jvm]
object Companion

Functions

Name Summary
toString [jvm]
open override fun toString(): String

Properties

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