org.erights.e.elib.vat
Class WeakPtrThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.erights.e.elib.vat.WeakPtrThread
All Implemented Interfaces:
Runnable

class WeakPtrThread
extends Thread

Author:
Mark S. Miller

Field Summary
private  java.lang.ref.ReferenceQueue myWeakPtrQueue
           
(package private) static WeakPtrThread THE_ONE
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
private WeakPtrThread()
           
 
Method Summary
 java.lang.ref.ReferenceQueue getWeakPtrQueue()
           
 void run()
          Enabled: If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

THE_ONE

static final WeakPtrThread THE_ONE

myWeakPtrQueue

private final java.lang.ref.ReferenceQueue myWeakPtrQueue
Constructor Detail

WeakPtrThread

private WeakPtrThread()
Method Detail

getWeakPtrQueue

public java.lang.ref.ReferenceQueue getWeakPtrQueue()

run

public void run()
Description copied from class: Thread
Enabled: If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.

Subclasses of Thread should override this method.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
java.lang.Thread#start(), java.lang.Thread#stop(), java.lang.Thread#Thread(java.lang.ThreadGroup, java.lang.Runnable, java.lang.String), java.lang.Runnable#run()


comments?