| 3273 |
vikas |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
|
5 |
<!-- Prevent MS Office toolbar from changing layout -->
|
|
|
6 |
<meta http-equiv="imagetoolbar" content="false" />
|
|
|
7 |
<meta name="MSSmartTagsPreventParsing" content="true" />
|
| 5625 |
vikram.rag |
8 |
<title>Cache Statistics and admin | ${domain.name}</title>
|
| 3273 |
vikas |
9 |
|
|
|
10 |
</head>
|
|
|
11 |
<body>
|
|
|
12 |
|
|
|
13 |
<noscript>
|
| 5572 |
anupam.sin |
14 |
<p id="noScript">Please enable <em>Javascript</em> for this Website to function correctly!</p>
|
| 3273 |
vikas |
15 |
</noscript>
|
|
|
16 |
<h1>Cache Statistics and Admin</h1>
|
|
|
17 |
#set($cacheStats = $action.getCacheStats())
|
|
|
18 |
#if($cacheStats && $cacheStats.size() != 0)
|
|
|
19 |
<table cellpadding="0" cellspacing="0" border="1" width="100%" id="cacheStatsTable">
|
|
|
20 |
<thead>
|
|
|
21 |
<tr>
|
|
|
22 |
<th>Name</th>
|
|
|
23 |
<th>Eviction</th>
|
|
|
24 |
<th>Memory</th>
|
|
|
25 |
<th>Searches</th>
|
|
|
26 |
<th>Status</th>
|
|
|
27 |
<th>Avg Get Time</th>
|
|
|
28 |
<th>Avg Search Time</th>
|
|
|
29 |
<th>Hits</th>
|
|
|
30 |
<th>Misses</th>
|
| 3347 |
vikas |
31 |
<th>Hit Ratio</th>
|
| 3273 |
vikas |
32 |
<th>Eviction</th>
|
|
|
33 |
<th>Clear</th>
|
|
|
34 |
</tr>
|
|
|
35 |
</thead>
|
|
|
36 |
<tbody>
|
|
|
37 |
#foreach($cacheStat in $cacheStats)
|
|
|
38 |
<tr>
|
|
|
39 |
<td>$cacheStat.get("name")</td>
|
|
|
40 |
<td>$cacheStat.get("eviction_policy")</td>
|
|
|
41 |
<td>$cacheStat.get("memory_store_size")</td>
|
|
|
42 |
<td>$cacheStat.get("searches_per_second")/sec</td>
|
|
|
43 |
<td>$cacheStat.get("status")</td>
|
| 3297 |
vikas |
44 |
<td>$cacheStat.get("avg_get_time")ms</td>
|
|
|
45 |
<td>$cacheStat.get("avg_search_time")ms</td>
|
| 3273 |
vikas |
46 |
<td>$cacheStat.get("cache_hits")</td>
|
|
|
47 |
<td>$cacheStat.get("cache_misses")</td>
|
| 3347 |
vikas |
48 |
<td>$cacheStat.get("cache_hit_ratio")%</td>
|
| 3273 |
vikas |
49 |
<td>$cacheStat.get("eviction_count")</td>
|
|
|
50 |
<td><a href="cache-admin/$cacheStat.get("name")?_method=delete">clear</a></td>
|
|
|
51 |
</tr>
|
|
|
52 |
#end
|
|
|
53 |
</tbody>
|
|
|
54 |
</table>
|
|
|
55 |
#end
|
|
|
56 |
|
|
|
57 |
</body>
|
|
|
58 |
</html>
|