Package de.fzi.herakles.commons.statistic

Examples of de.fzi.herakles.commons.statistic.StatisticListener


    for( int i = 0; i < reasonerThreads.length; i++ ) {

      ReasonerAdapter reasoner = reasonerThreads[i].getReasoner();
     
      // get statistic listener and send start task information
      StatisticListener listener = null;
      if(registry.hasStatisticListener(reasoner)){
        listener = registry.getStatisticListener(reasoner);
        listener.startTask(task);
      }

      // start thread
      reasonerThreads[i].setTask( task );
      reasonerThreads[i].addStatisticListener(listener);
View Full Code Here


      return listeners.get(reasoner);
    }
    else {
      addReasoner(reasoner);
      setReasonerID("UNKNOWN REASONER", reasoner);
      StatisticListener listener = new ProtegeStatisticListener("UNKNOWN REASONER");
      return listener;
    }
   
  }
View Full Code Here

TOP

Related Classes of de.fzi.herakles.commons.statistic.StatisticListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.