fix for PerformanceMemory showing UNRESOLVED_PATTERN by removing

solr-cache-stuff, which is not available anymore
pull/1/head
sixcooler 12 years ago
parent ee217dbdee
commit e145afb8d6

@ -194,6 +194,7 @@
<td>Insert</td> <td>Insert</td>
<td>Delete</td> <td>Delete</td>
</tr> </tr>
<!-- CachedSolrConnector was replaced by ConcurrentUpdateSolrConnector
<tr class="TableCellLight"> <tr class="TableCellLight">
<td>Solr-Cache/Hit</td> <td>Solr-Cache/Hit</td>
<td>#[solrcacheHit.size]#</td> <td>#[solrcacheHit.size]#</td>
@ -218,6 +219,7 @@
<td>#[solrcacheDocument.Insert]#</td> <td>#[solrcacheDocument.Insert]#</td>
<td>(ARC)</td> <td>(ARC)</td>
</tr> </tr>
-->
<tr class="TableCellLight"> <tr class="TableCellLight">
<td>DNSCache/Hit</td> <td>DNSCache/Hit</td>
<td>#[namecacheHit.size]#</td> <td>#[namecacheHit.size]#</td>

@ -203,21 +203,21 @@ public class PerformanceMemory_p {
prop.putNum("objectMissCacheTotalMem", totalmissmem / (1024d * 1024d)); prop.putNum("objectMissCacheTotalMem", totalmissmem / (1024d * 1024d));
// other caching structures // other caching structures
final CachedSolrConnector solr = (CachedSolrConnector) Switchboard.getSwitchboard().index.fulltext().getDefaultConnector(); // final CachedSolrConnector solr = (CachedSolrConnector) Switchboard.getSwitchboard().index.fulltext().getDefaultConnector();
prop.putNum("solrcacheHit.size", solr.nameCacheHitSize()); // prop.putNum("solrcacheHit.size", solr.nameCacheHitSize());
prop.putNum("solrcacheHit.Hit", solr.hitCache_Hit); // prop.putNum("solrcacheHit.Hit", solr.hitCache_Hit);
prop.putNum("solrcacheHit.Miss", solr.hitCache_Miss); // prop.putNum("solrcacheHit.Miss", solr.hitCache_Miss);
prop.putNum("solrcacheHit.Insert", solr.hitCache_Insert); // prop.putNum("solrcacheHit.Insert", solr.hitCache_Insert);
//
prop.putNum("solrcacheMiss.size", solr.nameCacheMissSize()); // prop.putNum("solrcacheMiss.size", solr.nameCacheMissSize());
prop.putNum("solrcacheMiss.Hit", solr.missCache_Hit); // prop.putNum("solrcacheMiss.Hit", solr.missCache_Hit);
prop.putNum("solrcacheMiss.Miss", solr.missCache_Miss); // prop.putNum("solrcacheMiss.Miss", solr.missCache_Miss);
prop.putNum("solrcacheMiss.Insert", solr.missCache_Insert); // prop.putNum("solrcacheMiss.Insert", solr.missCache_Insert);
//
prop.putNum("solrcacheDocument.size", solr.nameCacheDocumentSize()); // prop.putNum("solrcacheDocument.size", solr.nameCacheDocumentSize());
prop.putNum("solrcacheDocument.Hit", solr.documentCache_Hit); // prop.putNum("solrcacheDocument.Hit", solr.documentCache_Hit);
prop.putNum("solrcacheDocument.Miss", solr.documentCache_Miss); // prop.putNum("solrcacheDocument.Miss", solr.documentCache_Miss);
prop.putNum("solrcacheDocument.Insert", solr.documentCache_Insert); // prop.putNum("solrcacheDocument.Insert", solr.documentCache_Insert);
prop.putNum("namecacheHit.size", Domains.nameCacheHitSize()); prop.putNum("namecacheHit.size", Domains.nameCacheHitSize());
prop.putNum("namecacheHit.Hit", Domains.cacheHit_Hit); prop.putNum("namecacheHit.Hit", Domains.cacheHit_Hit);

Loading…
Cancel
Save