org.eclipse.net4j.util.concurrent
Class Stoppable
java.lang.Object
org.eclipse.net4j.util.concurrent.Stoppable
- All Implemented Interfaces:
- Runnable
- public abstract class Stoppable
- extends Object
- implements Runnable
A runnable
that can be stopped
.
- Since:
- 3.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stoppable
public Stoppable()
isStopped
public final boolean isStopped()
stop
public final void stop()
run
public final void run()
- Specified by:
run
in interface Runnable
doRun
protected abstract void doRun()
throws InterruptedException
- Throws:
InterruptedException
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.