Update of /var/cvs/html/mmbase/components/core
In directory james.mmbase.org:/tmp/cvs-serv22901

Modified Files:
        job.jspf jobs.jspx 
Log Message:
details


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core


Index: job.jspf
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/job.jspf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- job.jspf    9 Jul 2008 17:25:28 -0000       1.2
+++ job.jspf    9 Jul 2008 17:44:49 -0000       1.3
@@ -1,8 +1,16 @@
 <td><jsp:expression>executor.getActiveCount()</jsp:expression  ></td>
 <td><jsp:expression>executor.getCompletedTaskCount()</jsp:expression   ></td>
+<td><jsp:expression>executor.getPoolSize()</jsp:expression>
+<jsp:scriptlet>if (executor.getMaximumPoolSize() != Integer.MAX_VALUE) 
{</jsp:scriptlet>
+/
+<jsp:expression>executor.getMaximumPoolSize()</jsp:expression>
+<jsp:scriptlet>}</jsp:scriptlet>
+</td>
 <td>
   <jsp:scriptlet>for (Runnable runnable : executor.getQueue()) { 
ScheduledFuture future = (ScheduledFuture) runnable;</jsp:scriptlet>
-  <p><jsp:expression>future</jsp:expression>: due in
+  <p title="<jsp:expression>future</jsp:expression>">
+  <jsp:expression>future.hashCode()</jsp:expression>
+  : due in
   <jsp:expression>future.getDelay(TimeUnit.HOURS)</jsp:expression>h
   <jsp:expression>future.getDelay(TimeUnit.MINUTES) % 60</jsp:expression>min
   <jsp:expression>future.getDelay(TimeUnit.SECONDS) % 60</jsp:expression>s


Index: jobs.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/jobs.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- jobs.jspx   9 Jul 2008 17:00:57 -0000       1.1
+++ jobs.jspx   9 Jul 2008 17:44:49 -0000       1.2
@@ -16,7 +16,7 @@
     <table summary="Jobs statistics" border="0" cellspacing="0" 
cellpadding="3">
       <caption>Jobs statistics</caption>
       <tr>
-        <th>Executor</th><th>#Active</th><th>#Completed</th><th>Queue</th>
+        <th>Executor</th><th>#Active</th><th>#Completed</th><th>Pool 
size</th><th>Queue</th>
       </tr>
       <tr>
         <th>Scheduler</th>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to