//leakcanary-repo/leakcanary/OncePerPeriodInterceptor
OncePerPeriodInterceptor¶
[androidJvm]\ class OncePerPeriodInterceptor(application: Application, periodMillis: Long = TimeUnit.DAYS.toMillis(1)) : HeapAnalysisInterceptor
Proceeds once per period (of time) and then cancels all follow up jobs until period has passed.
Constructors¶
OncePerPeriodInterceptor | [androidJvm] constructor(application: Application, periodMillis: Long = TimeUnit.DAYS.toMillis(1)) |
Types¶
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |
Functions¶
Name | Summary |
---|---|
forget | [androidJvm] fun forget() |
intercept | [androidJvm] open override fun intercept(chain: HeapAnalysisInterceptor.Chain): HeapAnalysisJob.Result |