cache.jsp 1.53 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

<html>
<head>
<title><spring:message code="admin.cache.page.title" /></title>
</head>
<body>
	<h1>
		<spring:message code="admin.cache.page.title" />
	</h1>
	
	<c:forEach items="${cacheMaps}" var="cacheMap">
		<h3><c:out value="${cacheMap.serviceName}" /> <c:out value="${cacheMap.name}" /></h3>
		<c:set value="${cacheMap.mapStats}" var="mapStat" />

		<div class="row">
			<div class="col-xs-6 col-sm-4">
				<spring:message code="cache.stat.map.ownedEntryCount" />
			</div>
			<div class="col-xs-6 col-sm-8">
				<c:out value="${mapStat.ownedEntryCount}" />
			</div>
		</div>
		
		<div class="row">
			<div class="col-xs-6 col-sm-4">
				<spring:message code="cache.stat.map.lockedEntryCount" />
			</div>
			<div class="col-xs-6 col-sm-8">
				<c:out value="${mapStat.lockedEntryCount}" />
			</div>
		</div>
		
		<div class="row">
			<div class="col-xs-6 col-sm-4">
				<spring:message code="cache.stat.map.puts" />
			</div>
			<div class="col-xs-6 col-sm-8">
				<c:out value="${mapStat.putOperationCount}" />
			</div>
		</div>
		
		<div class="row">
			<div class="col-xs-6 col-sm-4">
				<spring:message code="cache.stat.map.hits" />
			</div>
			<div class="col-xs-6 col-sm-8">
				<c:out value="${mapStat.hits}" />
			</div>
		</div>
	</c:forEach>
	
	<c:forEach items="${cacheOthers}" var="cacheOther">
		<h3><c:out value="${cacheOther.class.name}" /> <c:out value="${cacheOther}" /></h3>
	</c:forEach>
</body>
</html>