|
|
@ -272,45 +272,45 @@ public class LogParserPLASMA implements LogParser{
|
|
|
|
|
|
|
|
|
|
|
|
public Hashtable getResults() {
|
|
|
|
public Hashtable getResults() {
|
|
|
|
Hashtable results = new Hashtable();
|
|
|
|
Hashtable results = new Hashtable();
|
|
|
|
// results.put("version", Double.valueOf(parserVersion));
|
|
|
|
results.put("version", new Double(parserVersion));
|
|
|
|
// results.put("urlSum", Integer.valueOf(urlSum));
|
|
|
|
results.put("urlSum", new Integer(urlSum));
|
|
|
|
// results.put("urlReqSum", Integer.valueOf(urlReqSum));
|
|
|
|
results.put("urlReqSum", new Integer(urlReqSum));
|
|
|
|
// results.put("blockedURLSum", Integer.valueOf(blockedURLSum));
|
|
|
|
results.put("blockedURLSum", new Integer(blockedURLSum));
|
|
|
|
// results.put("wordsSum", Integer.valueOf(wordsSum));
|
|
|
|
results.put("wordsSum", new Integer(wordsSum));
|
|
|
|
// results.put("rwiSum", Integer.valueOf(rwiSum));
|
|
|
|
results.put("rwiSum", new Integer(rwiSum));
|
|
|
|
// results.put("blockedRWISum", Integer.valueOf(blockedRWISum));
|
|
|
|
results.put("blockedRWISum", new Integer(blockedRWISum));
|
|
|
|
// results.put("urlTimeSum", Long.valueOf(urlTimeSum));
|
|
|
|
results.put("urlTimeSum", new Long(urlTimeSum));
|
|
|
|
// results.put("rwiTimeSum", Long.valueOf(rwiTimeSum));
|
|
|
|
results.put("rwiTimeSum", new Long(rwiTimeSum));
|
|
|
|
// results.put("DHTSendTraffic", Long.valueOf(DHTSendTraffic));
|
|
|
|
results.put("DHTSendTraffic", new Long(DHTSendTraffic));
|
|
|
|
// results.put("DHTSendURLs", Integer.valueOf(DHTSendURLs));
|
|
|
|
results.put("DHTSendURLs", new Integer(DHTSendURLs));
|
|
|
|
// results.put("RWIRejectCount", Integer.valueOf(RWIRejectCount));
|
|
|
|
results.put("RWIRejectCount", new Integer(RWIRejectCount));
|
|
|
|
// results.put("RWIRejectPeerNames", RWIRejectPeerNames);
|
|
|
|
results.put("RWIRejectPeerNames", RWIRejectPeerNames);
|
|
|
|
// results.put("RWIRejectPeerHashs", RWIRejectPeerHashs);
|
|
|
|
results.put("RWIRejectPeerHashs", RWIRejectPeerHashs);
|
|
|
|
// results.put("DHTPeerNames", DHTPeerNames);
|
|
|
|
results.put("DHTPeerNames", DHTPeerNames);
|
|
|
|
// results.put("DHTPeerHashs", DHTPeerHashs);
|
|
|
|
results.put("DHTPeerHashs", DHTPeerHashs);
|
|
|
|
// results.put("DHTSelectionTargetCount", Integer.valueOf(DHTSelectionTargetCount));
|
|
|
|
results.put("DHTSelectionTargetCount", new Integer(DHTSelectionTargetCount));
|
|
|
|
// results.put("DHTSelectionWordsCount", Integer.valueOf(DHTSelectionWordsCount));
|
|
|
|
results.put("DHTSelectionWordsCount", new Integer(DHTSelectionWordsCount));
|
|
|
|
// results.put("DHTSelectionWordsTimeCount", Integer.valueOf(DHTSelectionWordsTimeCount));
|
|
|
|
results.put("DHTSelectionWordsTimeCount", new Integer(DHTSelectionWordsTimeCount));
|
|
|
|
// results.put("minDHTDist", Double.valueOf(minDHTDist));
|
|
|
|
results.put("minDHTDist", new Double(minDHTDist));
|
|
|
|
// results.put("maxDHTDist", Double.valueOf(maxDHTDist));
|
|
|
|
results.put("maxDHTDist", new Double(maxDHTDist));
|
|
|
|
// results.put("avgDHTDist", Double.valueOf(avgDHTDist));
|
|
|
|
results.put("avgDHTDist", new Double(avgDHTDist));
|
|
|
|
// results.put("busyPeerCount", Integer.valueOf(busyPeerCount));
|
|
|
|
results.put("busyPeerCount", new Integer(busyPeerCount));
|
|
|
|
// results.put("notEnoughDHTPeers", Integer.valueOf(notEnoughDHTPeers));
|
|
|
|
results.put("notEnoughDHTPeers", new Integer(notEnoughDHTPeers));
|
|
|
|
// results.put("failedIndexDistributionCount", Integer.valueOf(failedIndexDistributionCount));
|
|
|
|
results.put("failedIndexDistributionCount", new Integer(failedIndexDistributionCount));
|
|
|
|
// results.put("leftChildTwiceCount", Integer.valueOf(leftChildTwiceCount));
|
|
|
|
results.put("leftChildTwiceCount", new Integer(leftChildTwiceCount));
|
|
|
|
// results.put("rightChildTwiceCount", Integer.valueOf(rightChildTwiceCount));
|
|
|
|
results.put("rightChildTwiceCount", new Integer(rightChildTwiceCount));
|
|
|
|
// results.put("rankingDistributionCount", Integer.valueOf(rankingDistributionCount));
|
|
|
|
results.put("rankingDistributionCount", new Integer(rankingDistributionCount));
|
|
|
|
// results.put("rankingDistributionTime", Integer.valueOf(rankingDistributionTime));
|
|
|
|
results.put("rankingDistributionTime", new Integer(rankingDistributionTime));
|
|
|
|
// results.put("rankingDistributionFailCount", Integer.valueOf(rankingDistributionFailCount));
|
|
|
|
results.put("rankingDistributionFailCount", new Integer(rankingDistributionFailCount));
|
|
|
|
// results.put("malformedURLCount", Integer.valueOf(malformedURLCount));
|
|
|
|
results.put("malformedURLCount", new Integer(malformedURLCount));
|
|
|
|
// results.put("indexedSites", Integer.valueOf(indexedSites));
|
|
|
|
results.put("indexedSites", new Integer(indexedSites));
|
|
|
|
// results.put("indexedWordSum", Integer.valueOf(indexedWordSum));
|
|
|
|
results.put("indexedWordSum", new Integer(indexedWordSum));
|
|
|
|
// results.put("indexedSiteSizeSum", Integer.valueOf(indexedSiteSizeSum));
|
|
|
|
results.put("indexedSiteSizeSum", new Integer(indexedSiteSizeSum));
|
|
|
|
// results.put("indexedAnchorsCount", Integer.valueOf(indexedAnchorsCount));
|
|
|
|
results.put("indexedAnchorsCount", new Integer(indexedAnchorsCount));
|
|
|
|
// results.put("indexedStackingTime", Integer.valueOf(indexedStackingTime));
|
|
|
|
results.put("indexedStackingTime", new Integer(indexedStackingTime));
|
|
|
|
// results.put("indexedParsingTime", Integer.valueOf(indexedParsingTime));
|
|
|
|
results.put("indexedParsingTime", new Integer(indexedParsingTime));
|
|
|
|
// results.put("indexedIndexingTime", Integer.valueOf(indexedIndexingTime));
|
|
|
|
results.put("indexedIndexingTime", new Integer(indexedIndexingTime));
|
|
|
|
// results.put("indexedStorageTime", Integer.valueOf(indexedStorageTime));
|
|
|
|
results.put("indexedStorageTime", new Integer(indexedStorageTime));
|
|
|
|
return results;
|
|
|
|
return results;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|