org.semanticweb.elk.reasoner.stages
Class RestartingStageExecutor
java.lang.Object
org.semanticweb.elk.util.concurrent.computation.SimpleInterrupter
org.semanticweb.elk.reasoner.stages.RestartingStageExecutor
- All Implemented Interfaces:
- ReasonerStageExecutor, Interrupter
public class RestartingStageExecutor
- extends SimpleInterrupter
- implements ReasonerStageExecutor
A ReasonerStageExecutor which refuses to interrupt: it will restart
any interrupted stage.
- Author:
- "Yevgeny Kazakov"
|
Method Summary |
void |
complete(ReasonerStage stage)
Makes sure that the given stage is completed; it might not necessarily
execute this stage if the results are already computed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestartingStageExecutor
public RestartingStageExecutor()
complete
public void complete(ReasonerStage stage)
throws ElkException
- Description copied from interface:
ReasonerStageExecutor
- Makes sure that the given stage is completed; it might not necessarily
execute this stage if the results are already computed
- Specified by:
complete in interface ReasonerStageExecutor
- Parameters:
stage - the reasoner stage to be completed
- Throws:
ElkException - if the stage cannot be competed successfully
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.