//leakcanary/leakcanary/OncePerPeriodInterceptor
OncePerPeriodInterceptor¶
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 | fun OncePerPeriodInterceptor(application: Application, periodMillis: Long = TimeUnit.DAYS.toMillis(1)) |
Types¶
Name | Summary |
---|---|
Companion | object Companion |
Functions¶
Name | Summary |
---|---|
forget | fun forget() |
intercept | open override fun intercept(chain: HeapAnalysisInterceptor.Chain): HeapAnalysisJob.Result |