Index

A C D G J M N O S T U 
All Classes and Interfaces|All Packages

A

assertCollectable(Object) - Method in interface de.sandec.jmemorybuddy.JMemoryBuddy.MemoryTestAPI
After executing the lambda, the provided ref must be collectable.
assertCollectable(WeakReference<?>) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference can be collected.
assertNotCollectable(Object) - Method in interface de.sandec.jmemorybuddy.JMemoryBuddy.MemoryTestAPI
After executing the lambda, the provided ref must be not collectable.
assertNotCollectable(WeakReference<Object>) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference cannot be collected.

C

checkCollectable(WeakReference<?>) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference can be collected.
checkNotCollectable(WeakReference<?>) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
Checks whether the content of the WeakReference cannot be collected.
CleanupDetector - Class in de.sandec.jmemorybuddy
 
CleanupDetector() - Constructor for class de.sandec.jmemorybuddy.CleanupDetector
 
CleanupDetector.WeakReferenceWithRunnable - Class in de.sandec.jmemorybuddy
This class can be extended to provide more meta information to the method onCleanup.
collectableSince - Variable in class de.sandec.jmemorybuddy.JMemoryBuddyLive.CollectableEntry
 
collectedEntries - Variable in class de.sandec.jmemorybuddy.JMemoryBuddyLive.Report
 

D

de.sandec.jmemorybuddy - module de.sandec.jmemorybuddy
Module descriptor for the JMemoryBuddy module.
de.sandec.jmemorybuddy - package de.sandec.jmemorybuddy
 

G

getReport() - Static method in class de.sandec.jmemorybuddy.JMemoryBuddyLive
This clas provides a report, containing a list with details about object marked as collectable with markCollectable.

J

JMemoryBuddy - Class in de.sandec.jmemorybuddy
JMemoryBuddy provides various methods to test for memory leaks.
JMemoryBuddy() - Constructor for class de.sandec.jmemorybuddy.JMemoryBuddy
 
JMemoryBuddy.MemoryTestAPI - Interface in de.sandec.jmemorybuddy
This class provides different methods, which can be used to declare memory-constraints.
JMemoryBuddyLive - Class in de.sandec.jmemorybuddy
 
JMemoryBuddyLive() - Constructor for class de.sandec.jmemorybuddy.JMemoryBuddyLive
 
JMemoryBuddyLive.CollectableEntry - Class in de.sandec.jmemorybuddy
 
JMemoryBuddyLive.Report - Class in de.sandec.jmemorybuddy
 

M

markCollectable(String, Object) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddyLive
This class can be used to mark objects as collectable.
memoryTest(Consumer<JMemoryBuddy.MemoryTestAPI>) - Static method in class de.sandec.jmemorybuddy.JMemoryBuddy
A standard method to define a test which checks code for specific memory semantic.

N

name - Variable in class de.sandec.jmemorybuddy.JMemoryBuddyLive.CollectableEntry
 

O

onCleanup(CleanupDetector.WeakReferenceWithRunnable) - Static method in class de.sandec.jmemorybuddy.CleanupDetector
This version of the method can be used to provide more information in the heap dump by extending WeakReferenceWithRunnable.
onCleanup(Object, Runnable) - Static method in class de.sandec.jmemorybuddy.CleanupDetector
The runnable gets executed after the object has been collected by the GC.

S

setAsReferenced(Object) - Method in interface de.sandec.jmemorybuddy.JMemoryBuddy.MemoryTestAPI
The provided reference will be reference hard, so it won't be collected, until memoryTest finishes.

T

toString() - Method in class de.sandec.jmemorybuddy.JMemoryBuddyLive.CollectableEntry
 
toString() - Method in class de.sandec.jmemorybuddy.JMemoryBuddyLive.Report
 

U

uncollectedEntries - Variable in class de.sandec.jmemorybuddy.JMemoryBuddyLive.Report
 
A C D G J M N O S T U 
All Classes and Interfaces|All Packages