A B C D E G H I N R S T W 

A

analyze(HeapDump) - Method in interface com.squareup.leakcanary.HeapDump.Listener
 

B

build() - Method in class com.squareup.leakcanary.ExcludedRefs.Builder
 

C

com.squareup.leakcanary - package com.squareup.leakcanary
 

D

DebuggerControl - Interface in com.squareup.leakcanary
Gives the opportunity to skip checking if a reference is gone when the debugger is connected.
DEFAULT - Static variable in interface com.squareup.leakcanary.GcTrigger
 
DISABLED - Static variable in class com.squareup.leakcanary.RefWatcher
 
dumpHeap() - Method in interface com.squareup.leakcanary.HeapDumper
 

E

ExcludedRefs - Class in com.squareup.leakcanary
Prevents specific references from being taken into account when computing the shortest strong reference path from a suspected leaking instance to the GC roots.
excludedRefs - Variable in class com.squareup.leakcanary.HeapDump
References that should be ignored when analyzing this heap dump.
ExcludedRefs.Builder - Class in com.squareup.leakcanary
 
ExcludedRefs.Builder() - Constructor for class com.squareup.leakcanary.ExcludedRefs.Builder
 
excludedThreads - Variable in class com.squareup.leakcanary.ExcludedRefs
 
excludeFieldMap - Variable in class com.squareup.leakcanary.ExcludedRefs
 
excludeStaticFieldMap - Variable in class com.squareup.leakcanary.ExcludedRefs
 

G

gcDurationMs - Variable in class com.squareup.leakcanary.HeapDump
 
GcTrigger - Interface in com.squareup.leakcanary
Called when a watched reference is expected to be weakly reachable, but hasn't been enqueued in the reference queue yet.

H

HeapDump - Class in com.squareup.leakcanary
 
HeapDump(File, String, String, ExcludedRefs, long, long, long) - Constructor for class com.squareup.leakcanary.HeapDump
 
HeapDump.Listener - Interface in com.squareup.leakcanary
 
heapDumpDurationMs - Variable in class com.squareup.leakcanary.HeapDump
 
HeapDumper - Interface in com.squareup.leakcanary
 
heapDumpFile - Variable in class com.squareup.leakcanary.HeapDump
The heap dump file, which you might want to upload somewhere.

I

instanceField(String, String) - Method in class com.squareup.leakcanary.ExcludedRefs.Builder
 
isDebuggerAttached() - Method in interface com.squareup.leakcanary.DebuggerControl
 

N

NO_DUMP - Static variable in interface com.squareup.leakcanary.HeapDumper
 
NONE - Static variable in interface com.squareup.leakcanary.DebuggerControl
 

R

referenceKey - Variable in class com.squareup.leakcanary.HeapDump
Key associated to the KeyedWeakReference used to detect the memory leak.
referenceName - Variable in class com.squareup.leakcanary.HeapDump
User defined name to help identify the leaking instance.
RefWatcher - Class in com.squareup.leakcanary
Watches references that should become weakly reachable.
RefWatcher(Executor, DebuggerControl, GcTrigger, HeapDumper, HeapDump.Listener, ExcludedRefs) - Constructor for class com.squareup.leakcanary.RefWatcher
 
renameFile(File) - Method in class com.squareup.leakcanary.HeapDump
Renames the heap dump file and creates a new HeapDump pointing to it.
runGc() - Method in interface com.squareup.leakcanary.GcTrigger
 

S

staticField(String, String) - Method in class com.squareup.leakcanary.ExcludedRefs.Builder
 

T

thread(String) - Method in class com.squareup.leakcanary.ExcludedRefs.Builder
 

W

watch(Object) - Method in class com.squareup.leakcanary.RefWatcher
Identical to watch(Object, String) with an empty string reference name.
watch(Object, String) - Method in class com.squareup.leakcanary.RefWatcher
Watches the provided references and checks if it can be GCed.
watchDurationMs - Variable in class com.squareup.leakcanary.HeapDump
Time from the request to watch the reference until the GC was triggered.
A B C D E G H I N R S T W