public class CleanerThread
extends java.lang.Thread
| Modifier and Type | Class and Description |
|---|---|
static class |
CleanerThread.PhantomReferenceCleared
A PhantomReference subclass that automatically registers with
the cleaner ReferenceQueue.
|
static interface |
CleanerThread.ReferenceCleared
If objects registered with the reference queue associated with
this class implement this interface then the 'cleared' method
will be called when the reference is queued.
|
static class |
CleanerThread.SoftReferenceCleared
A SoftReference subclass that automatically registers with
the cleaner ReferenceQueue.
|
static class |
CleanerThread.WeakReferenceCleared
A WeakReference subclass that automatically registers with
the cleaner ReferenceQueue.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CleanerThread() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.ref.ReferenceQueue |
getReferenceQueue() |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldCopyright ? 2009 Apache Software Foundation. All Rights Reserved.