public interface InterruptibleRunnable
Like Runnable, but guarantees that interruptibleRun() will
be cleanly exited if the thread is interrupted.
For policy on handling
interrupted threads.| Modifier and Type | Method and Description |
|---|---|
void |
interruptibleRun()
A run method that guarantees to exit if the thread is interrupted,
perhaps by throwing
UncheckedInterruptedException. |
void interruptibleRun()
UncheckedInterruptedException.Copyright © 2000-2014. All Rights Reserved.