de.intarsys.tools.resourcetracker
Class ResourceFinalizer
java.lang.Object
java.lang.Thread
de.intarsys.tools.resourcetracker.ResourceFinalizer
- All Implemented Interfaces:
- Runnable
public class ResourceFinalizer
- extends Thread
A thread for monitoring a reference queue.
This monitor is decoupled from the ResourceTracker instance to allow
for heterogenous resources to be tracked in a single thread.
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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, stop, stop, suspend, toString, yield |
ResourceFinalizer
public ResourceFinalizer()
get
public static ResourceFinalizer get()
getQueue
public ReferenceQueue getQueue()
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
start
public void start()
- Overrides:
start in class Thread
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.