*) adding more SVN properties

*) minor changes

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6541 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 15 years ago
parent e04cb8cef0
commit 82d740050f

@ -3,8 +3,8 @@
// first published 27.03.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
@ -39,6 +39,7 @@ public abstract class AbstractBlockingThread<J extends WorkflowJob> extends Abst
return this.manager;
}
@Override
public void run() {
this.open();
if (log != null) {

@ -3,8 +3,8 @@
// first published 14.03.2005 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
@ -100,6 +100,7 @@ public abstract class AbstractBusyThread extends AbstractThread implements BusyT
}
@Override
public void run() {
if (startup > 0) {
// do a startup-delay
@ -192,6 +193,7 @@ public abstract class AbstractBusyThread extends AbstractThread implements BusyT
logSystem("thread '" + this.getName() + "' terminated.");
}
// ratzen: German for to sleep (coll.)
private void ratz(final long millis) {
try {/*
if (this.syncObject != null) {

@ -3,8 +3,8 @@
// first published 14.03.2005 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//

@ -3,8 +3,8 @@
// first published 27.03.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
@ -27,12 +27,12 @@ package net.yacy.kelondro.workflow;
public interface BlockingThread<J extends WorkflowJob> extends WorkflowThread {
public void setManager(WorkflowProcessor<J> queue);
public void setManager(final WorkflowProcessor<J> queue);
public WorkflowProcessor<J> getManager();
public J job(J next) throws Exception;
public J job(final J next) throws Exception;
// performes one job procedure; this loopes until terminate() is called
// job returns true if it has done something
// it returns false if it is idle and does not expect to work on more for a longer time

@ -3,8 +3,8 @@
// first published 27.03.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//

@ -3,8 +3,8 @@
// first published 29.02.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//

@ -3,8 +3,8 @@
// first published 27.02.2008 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//
@ -55,7 +55,7 @@ public class WorkflowProcessor<J extends WorkflowJob> {
private long execCount;
public WorkflowProcessor(
String name, String description, String[] childnames,
final String name, final String description, final String[] childnames,
final Object env, final String jobExecMethod,
final int inputQueueSize, final WorkflowProcessor<J> output, final int poolsize) {
// start a fixed number of executors that handle entries in the process queue
@ -106,7 +106,7 @@ public class WorkflowProcessor<J extends WorkflowJob> {
return j;
}
public void passOn(J next) throws InterruptedException {
public void passOn(final J next) throws InterruptedException {
// don't mix this method up with enQueue()!
// this method enqueues into the _next_ queue, not this queue!
if (this.output == null) return;
@ -197,7 +197,7 @@ public class WorkflowProcessor<J extends WorkflowJob> {
return processMonitor.iterator();
}
protected void increaseJobTime(long time) {
protected void increaseJobTime(final long time) {
this.execTime += time;
this.execCount++;
}

@ -3,8 +3,8 @@
// first published 13.03.2005 on http://yacy.net
//
// $LastChangedDate: 2006-04-02 22:40:07 +0200 (So, 02 Apr 2006) $
// $LastChangedRevision: 1986 $
// $LastChangedBy: orbiter $
// $LastChangedRevision$
// $LastChangedBy$
//
// LICENSE
//

Loading…
Cancel
Save