net.spy.concurrent
Interface ThreadPoolRunnable
- All Superinterfaces:
- Runnable
- All Known Implementing Classes:
- MainJob
public interface ThreadPoolRunnable
- extends Runnable
Interface that flags a class as having overridden toString() for debug
display in a thread list.
Runnables not implementing this interface will be displayed by their
class name only.
|
Method Summary |
String |
toString()
Subclasses must override toString() to produce an informative debug
string. |
| Methods inherited from interface java.lang.Runnable |
run |
toString
String toString()
- Subclasses must override toString() to produce an informative debug
string. It's a good idea to have this also include the class name
to be a bit more informative as the class name will not be displayed
along with it. This is optional, however.
- Overrides:
toString in class Object
Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.