ch.bind.philib.lang
Class ThreadUtil.ForeverRunner
java.lang.Object
ch.bind.philib.lang.ThreadUtil.ForeverRunner
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- ThreadUtil
public static final class ThreadUtil.ForeverRunner
- extends Object
- implements Runnable
Wrapper for a runnable. The wrapper will delegate calls to Runnable.run() to the wrapped object. If the wrapped
run() method terminates unexpectedly the run method will be called again.
|
Method Summary |
void |
run()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadUtil.ForeverRunner
public ThreadUtil.ForeverRunner(Runnable runnable)
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2013. All Rights Reserved.