disabled disk usage logpoints

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4979 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 17 years ago
parent 1e6d12f146
commit 5488543b8f

@ -93,7 +93,7 @@ public class consoleInterface extends Thread
if (buffer.ready()) if (buffer.ready())
break; break;
} }
log.logInfo("logpoint 3 "+ name +" needed " + tries + " tries"); //log.logInfo("logpoint 3 "+ name +" needed " + tries + " tries");
while((line = buffer.readLine()) != null) { while((line = buffer.readLine()) != null) {
output.add(line); output.add(line);
} }
@ -109,10 +109,10 @@ public class consoleInterface extends Thread
public List<String> getOutput(){ public List<String> getOutput(){
// wait that data is ready // wait that data is ready
try { try {
log.logInfo("logpoint 4 waiting for data of '"+ name +"'"); //log.logInfo("logpoint 4 waiting for data of '"+ name +"'");
final long start = System.currentTimeMillis(); //final long start = System.currentTimeMillis();
dataIsRead.acquire(); dataIsRead.acquire();
log.logInfo("logpoint 5 data ready for '"+ name +"' after "+ (System.currentTimeMillis() - start) +" ms"); //log.logInfo("logpoint 5 data ready for '"+ name +"' after "+ (System.currentTimeMillis() - start) +" ms");
} catch (InterruptedException e) { } catch (InterruptedException e) {
// after interrupt just return what is available (maybe nothing) // after interrupt just return what is available (maybe nothing)
} }

Loading…
Cancel
Save