net.spy.util
Interface ThreadPoolRunnable

All Superinterfaces:
Runnable
All Known Implementing Classes:
MainJob, URLItem

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
 

Method Detail

toString

public 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.