public final class AndroidWatchExecutor
extends java.lang.Object
implements com.squareup.leakcanary.WatchExecutor
WatchExecutor
suitable for watching Android reference leaks. This executor waits for the
main thread to be idle then posts to a serial background thread with the delay specified by
AndroidRefWatcherBuilder.watchDelay(long, TimeUnit)
.Constructor and Description |
---|
AndroidWatchExecutor(long initialDelayMillis) |
Modifier and Type | Method and Description |
---|---|
void |
execute(com.squareup.leakcanary.Retryable retryable) |