Package | Description |
---|---|
org.jboss.modules.ref |
Classes which implement reference types which can be cleaned up automatically by a background thread.
|
Modifier and Type | Method | Description |
---|---|---|
Reaper<T,A> |
PhantomReference.getReaper() |
|
Reaper<T,A> |
SoftReference.getReaper() |
|
Reaper<T,A> |
WeakReference.getReaper() |
Modifier and Type | Method | 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 | 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) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.