Skip navigation links
A B C D E F G H I M N R S T V W 

A

alwaysExclude() - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
 
alwaysExclude - Variable in class com.squareup.leakcanary.Exclusion
 
analyze(HeapDump) - Method in interface com.squareup.leakcanary.HeapDump.Listener
 

B

build() - Method in interface com.squareup.leakcanary.ExcludedRefs.Builder
 
build() - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
 
build() - Method in class com.squareup.leakcanary.RefWatcherBuilder
Creates a RefWatcher.
builder() - Static method in class com.squareup.leakcanary.ExcludedRefs
 

C

classNames - Variable in class com.squareup.leakcanary.ExcludedRefs
 
clazz(String) - Method in interface com.squareup.leakcanary.ExcludedRefs.Builder
 
clazz(String) - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
Ignores all fields and static fields of all subclasses of the provided class name.
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.
debuggerControl(DebuggerControl) - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
DEFAULT - Static variable in interface com.squareup.leakcanary.GcTrigger
 
defaultDebuggerControl() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
defaultExcludedRefs() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
defaultGcTrigger() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
defaultHeapDumper() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
defaultHeapDumpListener() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
defaultWatchExecutor() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
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(ExcludedRefs) - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
ExcludedRefs.Builder - Interface in com.squareup.leakcanary
 
ExcludedRefs.BuilderWithParams - Class in com.squareup.leakcanary
 
Exclusion - Class in com.squareup.leakcanary
 
execute(Retryable) - Method in interface com.squareup.leakcanary.WatchExecutor
 

F

fieldNameByClassName - 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.
gcTrigger(GcTrigger) - Method in class com.squareup.leakcanary.RefWatcherBuilder
 

H

HeapDump - Class in com.squareup.leakcanary
Data structure holding information about a heap dump.
HeapDump(File, String, String, ExcludedRefs, long, long, long) - Constructor for class com.squareup.leakcanary.HeapDump
 
HeapDump.Listener - Interface in com.squareup.leakcanary
Receives a heap dump to analyze.
heapDumpDurationMs - Variable in class com.squareup.leakcanary.HeapDump
 
HeapDumper - Interface in com.squareup.leakcanary
Dumps the heap into a file.
heapDumper(HeapDumper) - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
heapDumpFile - Variable in class com.squareup.leakcanary.HeapDump
The heap dump file, which you might want to upload somewhere.
heapDumpListener(HeapDump.Listener) - Method in class com.squareup.leakcanary.RefWatcherBuilder
 

I

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

M

matching - Variable in class com.squareup.leakcanary.Exclusion
 

N

name - Variable in class com.squareup.leakcanary.Exclusion
 
named(String) - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
 
NONE - Static variable in interface com.squareup.leakcanary.DebuggerControl
 
NONE - Static variable in interface com.squareup.leakcanary.HeapDump.Listener
 
NONE - Static variable in interface com.squareup.leakcanary.HeapDumper
 
NONE - Static variable in interface com.squareup.leakcanary.WatchExecutor
 

R

reason(String) - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
 
reason - Variable in class com.squareup.leakcanary.Exclusion
 
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.
RefWatcherBuilder<T extends RefWatcherBuilder<T>> - Class in com.squareup.leakcanary
Responsible for building RefWatcher instances.
RefWatcherBuilder() - Constructor for class com.squareup.leakcanary.RefWatcherBuilder
 
RETRY_LATER - Static variable in interface com.squareup.leakcanary.HeapDumper
 
Retryable - Interface in com.squareup.leakcanary
A unit of work that can be retried later.
Retryable.Result - Enum in com.squareup.leakcanary
 
run() - Method in interface com.squareup.leakcanary.Retryable
 
runGc() - Method in interface com.squareup.leakcanary.GcTrigger
 

S

self() - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
staticField(String, String) - Method in interface com.squareup.leakcanary.ExcludedRefs.Builder
 
staticField(String, String) - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
 
staticFieldNameByClassName - Variable in class com.squareup.leakcanary.ExcludedRefs
 

T

thread(String) - Method in interface com.squareup.leakcanary.ExcludedRefs.Builder
 
thread(String) - Method in class com.squareup.leakcanary.ExcludedRefs.BuilderWithParams
 
threadNames - Variable in class com.squareup.leakcanary.ExcludedRefs
 
toString() - Method in class com.squareup.leakcanary.ExcludedRefs
 

V

valueOf(String) - Static method in enum com.squareup.leakcanary.Retryable.Result
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.squareup.leakcanary.Retryable.Result
Returns an array containing the constants of this enum type, in the order they are declared.

W

watch(Object) - Method in class com.squareup.leakcanary.RefWatcher
Identical to RefWatcher.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.
watchExecutor(WatchExecutor) - Method in class com.squareup.leakcanary.RefWatcherBuilder
 
WatchExecutor - Interface in com.squareup.leakcanary
A WatchExecutor is in charge of executing a Retryable in the future, and retry later if needed.
A B C D E F G H I M N R S T V W 
Skip navigation links