-
- All Implemented Interfaces:
-
leakcanary.HeapAnalysisInterceptor
public final class OncePerPeriodInterceptor implements HeapAnalysisInterceptor
Proceeds once per period (of time) and then cancels all follow up jobs until period has passed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classOncePerPeriodInterceptor.Companion
-
Constructor Summary
Constructors Constructor Description OncePerPeriodInterceptor(Application application, Long periodMillis)
-
Method Summary
Modifier and Type Method Description HeapAnalysisJob.Resultintercept(HeapAnalysisInterceptor.Chain chain)final Unitforget()-
-
Constructor Detail
-
OncePerPeriodInterceptor
OncePerPeriodInterceptor(Application application, Long periodMillis)
-
-
Method Detail
-
intercept
HeapAnalysisJob.Result intercept(HeapAnalysisInterceptor.Chain chain)
-
-
-
-