Update of /var/cvs/html/mmbase/admin
In directory james.mmbase.org:/tmp/cvs-serv5100
Modified Files:
stats.jsp
Log Message:
did'nt compile a.o. because MMB-1712
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/admin
See also: http://www.mmbase.org/jira/browse/MMB-1712
Index: stats.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/admin/stats.jsp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- stats.jsp 9 Feb 2007 15:28:33 -0000 1.9
+++ stats.jsp 22 Aug 2008 16:24:35 -0000 1.10
@@ -1,4 +1,4 @@
-<[EMAIL PROTECTED] session="false"
import="org.mmbase.module.core.MMBase,org.mmbase.cache.Cache"
+<[EMAIL PROTECTED] session="false"
import="org.mmbase.module.core.MMBase,org.mmbase.cache.Cache,org.mmbase.cache.CacheManager"
%><%@ taglib uri="http://www.mmbase.org/mmbase-taglib-1.0" prefix="mm"
%><mm:content type="text/plain" postprocessor="reducespace" expires="10">
@@ -31,7 +31,7 @@
</mm:compare>
<mm:compare value="cache">
<mm:import externid="cachetype" jspvar="type"
vartype="string">Nodes</mm:import>
- <% Cache cache = Cache.getCache(type);
+ <% Cache cache = CacheManager.getCache(type);
if (cache != null) {
%>
<%= cache.getHits() %>
@@ -62,10 +62,10 @@
<%
-java.util.Iterator i = Cache.getCaches().iterator();
+java.util.Iterator i = CacheManager.getCaches().iterator();
while (i.hasNext()) {
String cacheName = (String) i.next();
- Cache cache = Cache.getCache(cacheName);
+ Cache cache = CacheManager.getCache(cacheName);
%>
#
@@ -91,7 +91,7 @@
int timeDiff = (int)((System.currentTimeMillis()/1000) -
MMBase.getMMBase().startTime);
int days = timeDiff / (60 * 60 * 24);
%>
-days <%= days %> <mm:time time="<%="" + timeDiff%>" format="HH:mm:ss"
timezone="GMT" /> (hours:minutes:seconds)
+days <%= days %> <mm:time time='<%="" + timeDiff%>' format="HH:mm:ss"
timezone="GMT" /> (hours:minutes:seconds)
<%= MMBase.getMMBase().getHost() %>
</mm:compare>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs