org.semanticweb.elk.reasoner.stages
Class LoggingStageExecutor

java.lang.Object
  extended by org.semanticweb.elk.util.concurrent.computation.SimpleInterrupter
      extended by org.semanticweb.elk.reasoner.stages.AbstractStageExecutor
          extended by org.semanticweb.elk.reasoner.stages.LoggingStageExecutor
All Implemented Interfaces:
ReasonerStageExecutor, Interrupter

public class LoggingStageExecutor
extends AbstractStageExecutor

A ReasonerStageExecutor which prints log messages about the executed stages. If a stage has not been done, first, all its dependencies are executed, and then this stage itself.

Author:
"Yevgeny Kazakov"

Field Summary
protected static org.apache.log4j.Logger LOGGER_
           
 
Constructor Summary
LoggingStageExecutor()
           
 
Method Summary
 void execute(ReasonerStage stage)
           
 
Methods inherited from class org.semanticweb.elk.reasoner.stages.AbstractStageExecutor
complete
 
Methods inherited from class org.semanticweb.elk.util.concurrent.computation.SimpleInterrupter
clearInterrupt, clearThreadToInterrupt, interrupt, isInterrupted, registerCurrentThreadToInterrupt, registerThreadToInterrupt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.elk.util.concurrent.computation.Interrupter
clearInterrupt, interrupt, isInterrupted
 

Field Detail

LOGGER_

protected static final org.apache.log4j.Logger LOGGER_
Constructor Detail

LoggingStageExecutor

public LoggingStageExecutor()
Method Detail

execute

public void execute(ReasonerStage stage)
             throws ElkException
Specified by:
execute in class AbstractStageExecutor
Throws:
ElkException


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.