|
|
|
@ -109,7 +109,8 @@ public class queues_p {
|
|
|
|
|
}
|
|
|
|
|
int size = (post == null) ? entryList.size() : post.getInt("num", entryList.size());
|
|
|
|
|
if (size > entryList.size()) size = entryList.size();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int ok = 0;
|
|
|
|
|
for (i = 0; i < size; i++) {
|
|
|
|
|
boolean inProcess = i < inProcessCount;
|
|
|
|
|
pcentry = (plasmaSwitchboardQueue.Entry) entryList.get(i);
|
|
|
|
@ -117,7 +118,7 @@ public class queues_p {
|
|
|
|
|
totalSize += entrySize;
|
|
|
|
|
if ((pcentry != null)&&(pcentry.url() != null)) {
|
|
|
|
|
initiator = yacyCore.seedDB.getConnected(pcentry.initiator());
|
|
|
|
|
prop.put("list-indexing_"+i+"_profile", pcentry.profile().name());
|
|
|
|
|
prop.put("list-indexing_"+i+"_profile", (pcentry.profile() != null) ? pcentry.profile().name() : "deleted");
|
|
|
|
|
prop.putNoHTML("list-indexing_"+i+"_initiator", ((initiator == null) ? "proxy" : wikiCode.replaceHTML(initiator.getName())));
|
|
|
|
|
prop.put("list-indexing_"+i+"_depth", pcentry.depth());
|
|
|
|
|
prop.put("list-indexing_"+i+"_modified", pcentry.getModificationDate());
|
|
|
|
@ -126,9 +127,10 @@ public class queues_p {
|
|
|
|
|
prop.put("list-indexing_"+i+"_size", entrySize);
|
|
|
|
|
prop.put("list-indexing_"+i+"_inProcess", (inProcess)?1:0);
|
|
|
|
|
prop.put("list-indexing_"+i+"_hash", pcentry.urlHash());
|
|
|
|
|
ok++;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
prop.put("list-indexing", i);
|
|
|
|
|
prop.put("list-indexing", ok);
|
|
|
|
|
} catch (IOException e) {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|