Package org.n52.iceland.util.action
Class ThreadableAction
- java.lang.Object
-
- org.n52.iceland.util.action.RunnableAction
-
- org.n52.iceland.util.action.ThreadableAction
-
public abstract class ThreadableAction extends RunnableAction
Makes a RunnableAction optionally threadable (if CountDownLatch is set, it is counted down after execution).- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description ThreadableAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidsetParentCountDownLatch(CountDownLatch parentCountDownLatch)-
Methods inherited from class org.n52.iceland.util.action.RunnableAction
getStopwatchResult, startStopwatch
-
-
-
-
Method Detail
-
setParentCountDownLatch
public void setParentCountDownLatch(CountDownLatch parentCountDownLatch)
-
run
public void run()
- Specified by:
runin interfaceRunnable- Overrides:
runin classRunnableAction
-
-