net.spy.util
Interface ThreadPoolRunnable
- All Superinterfaces:
- java.lang.Runnable
- All Known Implementing Classes:
- MainJob, URLItem
public interface ThreadPoolRunnable
- extends java.lang.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 |
java.lang.String |
toString()
Subclasses must override toString() to produce an informative debug
string. |
| Methods inherited from interface java.lang.Runnable |
run |
toString
java.lang.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 java.lang.Object
Copyright © 1995-2006 SPY Internetworking. All Rights Reserved.