- 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.
-
-
Constructor Summary
Constructors Constructor Description ForeverRunner(Runnable runnable)
-