Package de.fuberlin.wiwiss.ng4j.semwebclient

Examples of de.fuberlin.wiwiss.ng4j.semwebclient.DereferencingTask


  private synchronized void tryAssignTask() {
    if (this.tasks.isEmpty())
      return;
     
    DereferencingTask task = (DereferencingTask) this.tasks.getFirst();
   
    Iterator<DereferencerThread> it = this.threads.iterator();
    while (it.hasNext()) {
      DereferencerThread thread = it.next();
      if (thread.startDereferencingIfAvailable(task)) {
        this.tasks.removeFirst();
        this.log.debug("Dequeue: <" + task.getURI() + ">@" + task.getStep() +
            " (n = " + this.tasks.size() + ")");
        break;
      }
    }
  }
View Full Code Here

TOP

Related Classes of de.fuberlin.wiwiss.ng4j.semwebclient.DereferencingTask

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.