intarsys runtime library

de.intarsys.tools.resourcetracker
Class ResourceFinalizer

java.lang.Object
  extended by java.lang.Thread
      extended by de.intarsys.tools.resourcetracker.ResourceFinalizer
All Implemented Interfaces:
Runnable

public class ResourceFinalizer
extends Thread

A thread for monitoring a reference queue.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ResourceFinalizer()
           
 
Method Summary
static ResourceFinalizer get()
           
 ReferenceQueue getQueue()
           
 void run()
           
 
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, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceFinalizer

public ResourceFinalizer()
Method Detail

get

public static ResourceFinalizer get()

getQueue

public ReferenceQueue getQueue()

run

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

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.