Once Per Period Interceptor
class OncePerPeriodInterceptor(application: Application, periodMillis: Long) : HeapAnalysisInterceptor
Content copied to clipboard
Proceeds once per period (of time) and then cancels all follow up jobs until period has passed.
Constructors
OncePerPeriodInterceptor
Link copied to clipboard
fun OncePerPeriodInterceptor(application: Application, periodMillis: Long = TimeUnit.DAYS.toMillis(1))
Content copied to clipboard
Types
Functions
intercept
Link copied to clipboard
open override fun intercept(chain: HeapAnalysisInterceptor.Chain): HeapAnalysisJob.Result
Content copied to clipboard