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
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 |
THE_ONE
static final WeakPtrThread THE_ONE
myWeakPtrQueue
private final java.lang.ref.ReferenceQueue myWeakPtrQueue
WeakPtrThread
private WeakPtrThread()
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?