- All Implemented Interfaces:
Runnable
public abstract class OneTimeRunnable
extends Object
implements Runnable
A process that is parked and runs only once before it is removed.
-
Constructor Summary
Constructors
-
Method Summary
void
protected abstract void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
OneTimeRunnable
protected OneTimeRunnable(String name)
-
Method Details
-
-
run
public void run()
- Specified by:
run
in interface Runnable
-
process
protected abstract void process()