Package org.apache.batik.util
Class CleanerThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.batik.util.CleanerThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class CleanerThread extends java.lang.Thread
One line Class Desc Complete Class Desc- Version:
- $Id: CleanerThread.java 1808023 2017-09-11 12:43:22Z ssteiner $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.ref.ReferenceQueue
queue
(package private) static CleanerThread
thread
-
Constructor Summary
Constructors Modifier Constructor Description protected
CleanerThread()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.ref.ReferenceQueue
getReferenceQueue()
void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
queue
static volatile java.lang.ref.ReferenceQueue queue
-
thread
static CleanerThread thread
-
-