nl.knowledgeplaza.util.thread
Class TraceableRunnable
java.lang.Object
nl.knowledgeplaza.util.thread.TraceableRunnable
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- TraceableRunnableDecorator
public abstract class TraceableRunnable
- extends Object
- implements Runnable
A runnable that remembers where it was created.
- Version:
- $Revision: 1.2 $
|
Method Summary |
abstract void |
run()
|
String |
toString()
return a stack trace in the same form as Throwable.printStackTrace() |
TraceableRunnable
public TraceableRunnable()
- Remember the stack upon instantiation
run
public abstract void run()
- Specified by:
run in interface Runnable
toString
public String toString()
- return a stack trace in the same form as
Throwable.printStackTrace()
- Overrides:
toString in class Object
Copyright © 2011 KnowledgePlaza. All Rights Reserved.