Class CleanerThread

  extended by java.lang.Thread
      extended by org.apache.batik.util.CleanerThread
All Implemented Interfaces:

public class CleanerThread
extends Thread

One line Class Desc Complete Class Desc

Nested Class Summary
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.
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
Field Summary
Fields inherited from class java.lang.Thread
Constructor Summary
protected CleanerThread()
Method Summary
static ReferenceQueue getReferenceQueue()
 void run()
Methods inherited from class java.lang.Thread
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, yield
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


protected CleanerThread()
Method Detail


public static ReferenceQueue getReferenceQueue()


public void run()
Specified by:
run in interface Runnable
run in class Thread

Copyright © 2017 Apache Software Foundation. All Rights Reserved.