1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (1.8.0_121) on Fri Apr 21 15:32:50 BST 2017 -->
6 <title>StatCollection</title>
7 <meta name="date" content="2017-04-21">
8 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9 <script type="text/javascript" src="../../../../script.js"></script>
12 <script type="text/javascript"><!--
14 if (location.href.indexOf('is-external=true') == -1) {
15 parent.document.title="StatCollection";
21 var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":10,"i5":9,"i6":9,"i7":10,"i8":9,"i9":10};
22 var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
23 var altColor = "altColor";
24 var rowColor = "rowColor";
25 var tableTab = "tableTab";
26 var activeTableTab = "activeTableTab";
29 <div>JavaScript is disabled on your browser.</div>
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <div class="topNav"><a name="navbar.top">
35 <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
36 <a name="navbar.top.firstrow">
39 <ul class="navList" title="Navigation">
40 <li><a href="../../../../overview-summary.html">Overview</a></li>
41 <li><a href="package-summary.html">Package</a></li>
42 <li class="navBarCell1Rev">Class</li>
43 <li><a href="class-use/StatCollection.html">Use</a></li>
44 <li><a href="package-tree.html">Tree</a></li>
45 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
46 <li><a href="../../../../index-files/index-1.html">Index</a></li>
47 <li><a href="../../../../help-doc.html">Help</a></li>
52 <li>Prev Class</li>
53 <li><a href="../../../../compbio/stat/servlet/util/StatCollection.Stattype.html" title="enum in compbio.stat.servlet.util"><span class="typeNameLink">Next Class</span></a></li>
56 <li><a href="../../../../index.html?compbio/stat/servlet/util/StatCollection.html" target="_top">Frames</a></li>
57 <li><a href="StatCollection.html" target="_top">No Frames</a></li>
59 <ul class="navList" id="allclasses_navbar_top">
60 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
63 <script type="text/javascript"><!--
64 allClassesLink = document.getElementById("allclasses_navbar_top");
66 allClassesLink.style.display = "block";
69 allClassesLink.style.display = "none";
75 <ul class="subNavList">
76 <li>Summary: </li>
77 <li><a href="#nested.class.summary">Nested</a> | </li>
78 <li><a href="#field.summary">Field</a> | </li>
79 <li><a href="#constructor.summary">Constr</a> | </li>
80 <li><a href="#method.summary">Method</a></li>
82 <ul class="subNavList">
83 <li>Detail: </li>
84 <li><a href="#field.detail">Field</a> | </li>
85 <li><a href="#constructor.detail">Constr</a> | </li>
86 <li><a href="#method.detail">Method</a></li>
89 <a name="skip.navbar.top">
92 <!-- ========= END OF TOP NAVBAR ========= -->
93 <!-- ======== START OF CLASS DATA ======== -->
95 <div class="subTitle">compbio.stat.servlet.util</div>
96 <h2 title="Class StatCollection" class="title">Class StatCollection</h2>
98 <div class="contentContainer">
99 <ul class="inheritance">
100 <li>java.lang.Object</li>
102 <ul class="inheritance">
103 <li>compbio.stat.servlet.util.StatCollection</li>
107 <div class="description">
108 <ul class="blockList">
109 <li class="blockList">
112 <pre>public class <span class="typeNameLabel">StatCollection</span>
113 extends java.lang.Object</pre>
117 <div class="summary">
118 <ul class="blockList">
119 <li class="blockList">
120 <!-- ======== NESTED CLASS SUMMARY ======== -->
121 <ul class="blockList">
122 <li class="blockList"><a name="nested.class.summary">
125 <h3>Nested Class Summary</h3>
126 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
127 <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
129 <th class="colFirst" scope="col">Modifier and Type</th>
130 <th class="colLast" scope="col">Class and Description</th>
132 <tr class="altColor">
133 <td class="colFirst"><code>static class </code></td>
134 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.Stattype.html" title="enum in compbio.stat.servlet.util">StatCollection.Stattype</a></span></code>
135 <div class="block">Total number of requests
137 incomplete abandoned cancelled</div>
143 <!-- =========== FIELD SUMMARY =========== -->
144 <ul class="blockList">
145 <li class="blockList"><a name="field.summary">
148 <h3>Field Summary</h3>
149 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
150 <caption><span>Fields</span><span class="tabEnd"> </span></caption>
152 <th class="colFirst" scope="col">Modifier and Type</th>
153 <th class="colLast" scope="col">Field and Description</th>
155 <tr class="altColor">
156 <td class="colFirst"><code>private java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>></code></td>
157 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#allStat">allStat</a></span></code> </td>
159 <tr class="rowColor">
160 <td class="colFirst"><code>private java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>></code></td>
161 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#clusterStat">clusterStat</a></span></code> </td>
163 <tr class="altColor">
164 <td class="colFirst"><code>private java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>></code></td>
165 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#localStat">localStat</a></span></code> </td>
167 <tr class="rowColor">
168 <td class="colFirst"><code>private static org.apache.log4j.Logger</code></td>
169 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#log">log</a></span></code> </td>
174 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
175 <ul class="blockList">
176 <li class="blockList"><a name="constructor.summary">
179 <h3>Constructor Summary</h3>
180 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
181 <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
183 <th class="colOne" scope="col">Constructor and Description</th>
185 <tr class="altColor">
186 <td class="colOne"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#StatCollection--">StatCollection</a></span>()</code> </td>
191 <!-- ========== METHOD SUMMARY =========== -->
192 <ul class="blockList">
193 <li class="blockList"><a name="method.summary">
196 <h3>Method Summary</h3>
197 <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
198 <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
200 <th class="colFirst" scope="col">Modifier and Type</th>
201 <th class="colLast" scope="col">Method and Description</th>
203 <tr id="i0" class="altColor">
204 <td class="colFirst"><code>boolean</code></td>
205 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object obj)</code> </td>
207 <tr id="i1" class="rowColor">
208 <td class="colFirst"><code>java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>></code></td>
209 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#getAllStat--">getAllStat</a></span>()</code> </td>
211 <tr id="i2" class="altColor">
212 <td class="colFirst"><code>java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>></code></td>
213 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#getClusterStat--">getClusterStat</a></span>()</code> </td>
215 <tr id="i3" class="rowColor">
216 <td class="colFirst"><code>private static <a href="../../../../compbio/stat/servlet/util/Totals.html" title="class in compbio.stat.servlet.util">Totals</a></code></td>
217 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#getJobCounts-java.util.Date-java.util.Date-">getJobCounts</a></span>(java.util.Date from,
218 java.util.Date to)</code> </td>
220 <tr id="i4" class="altColor">
221 <td class="colFirst"><code>java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>></code></td>
222 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#getLocalStat--">getLocalStat</a></span>()</code> </td>
224 <tr id="i5" class="rowColor">
225 <td class="colFirst"><code>static java.util.Map<java.util.Date,<a href="../../../../compbio/stat/servlet/util/Totals.html" title="class in compbio.stat.servlet.util">Totals</a>></code></td>
226 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#getStats-java.util.Date-">getStats</a></span>(java.util.Date fromDate)</code> </td>
228 <tr id="i6" class="altColor">
229 <td class="colFirst"><code>static java.util.Map<java.util.Date,<a href="../../../../compbio/stat/servlet/util/Totals.html" title="class in compbio.stat.servlet.util">Totals</a>></code></td>
230 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#getStats-int-">getStats</a></span>(int monthsToReport)</code> </td>
232 <tr id="i7" class="rowColor">
233 <td class="colFirst"><code>int</code></td>
234 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#hashCode--">hashCode</a></span>()</code> </td>
236 <tr id="i8" class="altColor">
237 <td class="colFirst"><code>static <a href="../../../../compbio/stat/servlet/util/StatCollection.html" title="class in compbio.stat.servlet.util">StatCollection</a></code></td>
238 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#newStatCollecton-java.util.Date-java.util.Date-">newStatCollecton</a></span>(java.util.Date startDate,
239 java.util.Date endDate)</code> </td>
241 <tr id="i9" class="rowColor">
242 <td class="colFirst"><code>java.lang.String</code></td>
243 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../compbio/stat/servlet/util/StatCollection.html#toString--">toString</a></span>()</code> </td>
246 <ul class="blockList">
247 <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
250 <h3>Methods inherited from class java.lang.Object</h3>
251 <code>clone, finalize, getClass, notify, notifyAll, wait, wait, wait</code></li>
258 <div class="details">
259 <ul class="blockList">
260 <li class="blockList">
261 <!-- ============ FIELD DETAIL =========== -->
262 <ul class="blockList">
263 <li class="blockList"><a name="field.detail">
266 <h3>Field Detail</h3>
270 <ul class="blockList">
271 <li class="blockList">
273 <pre>private java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>> allStat</pre>
276 <a name="clusterStat">
279 <ul class="blockList">
280 <li class="blockList">
282 <pre>private java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>> clusterStat</pre>
288 <ul class="blockList">
289 <li class="blockList">
291 <pre>private java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>> localStat</pre>
297 <ul class="blockListLast">
298 <li class="blockList">
300 <pre>private static final org.apache.log4j.Logger log</pre>
305 <!-- ========= CONSTRUCTOR DETAIL ======== -->
306 <ul class="blockList">
307 <li class="blockList"><a name="constructor.detail">
310 <h3>Constructor Detail</h3>
311 <a name="StatCollection--">
314 <ul class="blockListLast">
315 <li class="blockList">
316 <h4>StatCollection</h4>
317 <pre>public StatCollection()</pre>
322 <!-- ============ METHOD DETAIL ========== -->
323 <ul class="blockList">
324 <li class="blockList"><a name="method.detail">
327 <h3>Method Detail</h3>
328 <a name="getAllStat--">
331 <ul class="blockList">
332 <li class="blockList">
334 <pre>public java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>> getAllStat()</pre>
337 <a name="getClusterStat--">
340 <ul class="blockList">
341 <li class="blockList">
342 <h4>getClusterStat</h4>
343 <pre>public java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>> getClusterStat()</pre>
346 <a name="getLocalStat--">
349 <ul class="blockList">
350 <li class="blockList">
351 <h4>getLocalStat</h4>
352 <pre>public java.util.Map<<a href="../../../../compbio/ws/client/Services.html" title="enum in compbio.ws.client">Services</a>,<a href="../../../../compbio/stat/collector/StatProcessor.html" title="class in compbio.stat.collector">StatProcessor</a>> getLocalStat()</pre>
355 <a name="getStats-int-">
358 <ul class="blockList">
359 <li class="blockList">
361 <pre>public static java.util.Map<java.util.Date,<a href="../../../../compbio/stat/servlet/util/Totals.html" title="class in compbio.stat.servlet.util">Totals</a>> getStats(int monthsToReport)
362 throws java.sql.SQLException</pre>
364 <dt><span class="throwsLabel">Throws:</span></dt>
365 <dd><code>java.sql.SQLException</code></dd>
369 <a name="getStats-java.util.Date-">
372 <ul class="blockList">
373 <li class="blockList">
375 <pre>public static java.util.Map<java.util.Date,<a href="../../../../compbio/stat/servlet/util/Totals.html" title="class in compbio.stat.servlet.util">Totals</a>> getStats(java.util.Date fromDate)
376 throws java.sql.SQLException</pre>
378 <dt><span class="throwsLabel">Throws:</span></dt>
379 <dd><code>java.sql.SQLException</code></dd>
383 <a name="getJobCounts-java.util.Date-java.util.Date-">
386 <ul class="blockList">
387 <li class="blockList">
388 <h4>getJobCounts</h4>
389 <pre>private static <a href="../../../../compbio/stat/servlet/util/Totals.html" title="class in compbio.stat.servlet.util">Totals</a> getJobCounts(java.util.Date from,
390 java.util.Date to)
391 throws java.sql.SQLException</pre>
393 <dt><span class="throwsLabel">Throws:</span></dt>
394 <dd><code>java.sql.SQLException</code></dd>
398 <a name="newStatCollecton-java.util.Date-java.util.Date-">
401 <ul class="blockList">
402 <li class="blockList">
403 <h4>newStatCollecton</h4>
404 <pre>public static <a href="../../../../compbio/stat/servlet/util/StatCollection.html" title="class in compbio.stat.servlet.util">StatCollection</a> newStatCollecton(java.util.Date startDate,
405 java.util.Date endDate)
406 throws java.sql.SQLException</pre>
408 <dt><span class="throwsLabel">Throws:</span></dt>
409 <dd><code>java.sql.SQLException</code></dd>
413 <a name="hashCode--">
416 <ul class="blockList">
417 <li class="blockList">
419 <pre>public int hashCode()</pre>
421 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
422 <dd><code>hashCode</code> in class <code>java.lang.Object</code></dd>
426 <a name="equals-java.lang.Object-">
429 <ul class="blockList">
430 <li class="blockList">
432 <pre>public boolean equals(java.lang.Object obj)</pre>
434 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
435 <dd><code>equals</code> in class <code>java.lang.Object</code></dd>
439 <a name="toString--">
442 <ul class="blockListLast">
443 <li class="blockList">
445 <pre>public java.lang.String toString()</pre>
447 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
448 <dd><code>toString</code> in class <code>java.lang.Object</code></dd>
458 <!-- ========= END OF CLASS DATA ========= -->
459 <!-- ======= START OF BOTTOM NAVBAR ====== -->
460 <div class="bottomNav"><a name="navbar.bottom">
463 <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
464 <a name="navbar.bottom.firstrow">
467 <ul class="navList" title="Navigation">
468 <li><a href="../../../../overview-summary.html">Overview</a></li>
469 <li><a href="package-summary.html">Package</a></li>
470 <li class="navBarCell1Rev">Class</li>
471 <li><a href="class-use/StatCollection.html">Use</a></li>
472 <li><a href="package-tree.html">Tree</a></li>
473 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
474 <li><a href="../../../../index-files/index-1.html">Index</a></li>
475 <li><a href="../../../../help-doc.html">Help</a></li>
480 <li>Prev Class</li>
481 <li><a href="../../../../compbio/stat/servlet/util/StatCollection.Stattype.html" title="enum in compbio.stat.servlet.util"><span class="typeNameLink">Next Class</span></a></li>
484 <li><a href="../../../../index.html?compbio/stat/servlet/util/StatCollection.html" target="_top">Frames</a></li>
485 <li><a href="StatCollection.html" target="_top">No Frames</a></li>
487 <ul class="navList" id="allclasses_navbar_bottom">
488 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
491 <script type="text/javascript"><!--
492 allClassesLink = document.getElementById("allclasses_navbar_bottom");
494 allClassesLink.style.display = "block";
497 allClassesLink.style.display = "none";
503 <ul class="subNavList">
504 <li>Summary: </li>
505 <li><a href="#nested.class.summary">Nested</a> | </li>
506 <li><a href="#field.summary">Field</a> | </li>
507 <li><a href="#constructor.summary">Constr</a> | </li>
508 <li><a href="#method.summary">Method</a></li>
510 <ul class="subNavList">
511 <li>Detail: </li>
512 <li><a href="#field.detail">Field</a> | </li>
513 <li><a href="#constructor.detail">Constr</a> | </li>
514 <li><a href="#method.detail">Method</a></li>
517 <a name="skip.navbar.bottom">
520 <!-- ======== END OF BOTTOM NAVBAR ======= -->