Package | Description |
---|---|
org.jboss.modules |
The primary JBoss Modules API.
|
org.jboss.modules.ref |
Classes which implement reference types which can be cleaned up automatically by a background thread.
|
Modifier and Type | Field and Description |
---|---|
private static Reaper<ModuleLoader,javax.management.ObjectName> |
ModuleLoader.reaper |
Modifier and Type | Field and Description |
---|---|
private Reaper<T,A> |
SoftReference.reaper |
private Reaper<T,A> |
WeakReference.reaper |
private Reaper<T,A> |
PhantomReference.reaper |
Modifier and Type | Method and Description |
---|---|
Reaper<T,A> |
SoftReference.getReaper() |
Reaper<T,A> |
WeakReference.getReaper() |
Reaper<T,A> |
PhantomReference.getReaper() |
Reaper<T,A> |
Reapable.getReaper()
Get the associated reaper.
|
Modifier and Type | Method and Description |
---|---|
static <T,A> Reference<T,A> |
References.create(Reference.Type type,
T value,
A attachment,
Reaper<T,A> reaper)
Create a reference of a given type with the provided value and attachment.
|
Constructor and Description |
---|
PhantomReference(T referent,
A attachment,
Reaper<T,A> reaper) |
SoftReference(T referent,
A attachment,
Reaper<T,A> reaper) |
WeakReference(T referent,
A attachment,
Reaper<T,A> reaper) |