| 5827 |
amar.kumar |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
|
2 |
<!--NewPage-->
|
|
|
3 |
<HTML>
|
|
|
4 |
<HEAD>
|
|
|
5 |
<!-- Generated by javadoc (build 1.6.0_26) on Fri Aug 17 13:40:05 IST 2012 -->
|
|
|
6 |
<TITLE>
|
|
|
7 |
AlertTest (stat4j API)
|
|
|
8 |
</TITLE>
|
|
|
9 |
|
|
|
10 |
<META NAME="date" CONTENT="2012-08-17">
|
|
|
11 |
|
|
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
13 |
|
|
|
14 |
<SCRIPT type="text/javascript">
|
|
|
15 |
function windowTitle()
|
|
|
16 |
{
|
|
|
17 |
if (location.href.indexOf('is-external=true') == -1) {
|
|
|
18 |
parent.document.title="AlertTest (stat4j API)";
|
|
|
19 |
}
|
|
|
20 |
}
|
|
|
21 |
</SCRIPT>
|
|
|
22 |
<NOSCRIPT>
|
|
|
23 |
</NOSCRIPT>
|
|
|
24 |
|
|
|
25 |
</HEAD>
|
|
|
26 |
|
|
|
27 |
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
28 |
<HR>
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
|
32 |
<A NAME="navbar_top"><!-- --></A>
|
|
|
33 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
|
34 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
|
35 |
<TR>
|
|
|
36 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
|
37 |
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
|
38 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
|
39 |
<TR ALIGN="center" VALIGN="top">
|
|
|
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
|
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
|
42 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
|
43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AlertTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
|
44 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
|
45 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
|
46 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
|
47 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
|
48 |
</TR>
|
|
|
49 |
</TABLE>
|
|
|
50 |
</TD>
|
|
|
51 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
|
52 |
</EM>
|
|
|
53 |
</TD>
|
|
|
54 |
</TR>
|
|
|
55 |
|
|
|
56 |
<TR>
|
|
|
57 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
|
58 |
<A HREF="../../../net/sourceforge/stat4j/Alert.html" title="class in net.sourceforge.stat4j"><B>PREV CLASS</B></A>
|
|
|
59 |
<A HREF="../../../net/sourceforge/stat4j/Calculator.html" title="interface in net.sourceforge.stat4j"><B>NEXT CLASS</B></A></FONT></TD>
|
|
|
60 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
|
61 |
<A HREF="../../../index.html?net/sourceforge/stat4j/AlertTest.html" target="_top"><B>FRAMES</B></A>
|
|
|
62 |
<A HREF="AlertTest.html" target="_top"><B>NO FRAMES</B></A>
|
|
|
63 |
<SCRIPT type="text/javascript">
|
|
|
64 |
<!--
|
|
|
65 |
if(window==top) {
|
|
|
66 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
|
67 |
}
|
|
|
68 |
//-->
|
|
|
69 |
</SCRIPT>
|
|
|
70 |
<NOSCRIPT>
|
|
|
71 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
|
72 |
</NOSCRIPT>
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
</FONT></TD>
|
|
|
76 |
</TR>
|
|
|
77 |
<TR>
|
|
|
78 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
|
79 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
|
80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
|
81 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
|
82 |
</TR>
|
|
|
83 |
</TABLE>
|
|
|
84 |
<A NAME="skip-navbar_top"></A>
|
|
|
85 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
86 |
|
|
|
87 |
<HR>
|
|
|
88 |
<!-- ======== START OF CLASS DATA ======== -->
|
|
|
89 |
<H2>
|
|
|
90 |
<FONT SIZE="-1">
|
|
|
91 |
net.sourceforge.stat4j</FONT>
|
|
|
92 |
<BR>
|
|
|
93 |
Class AlertTest</H2>
|
|
|
94 |
<PRE>
|
|
|
95 |
java.lang.Object
|
|
|
96 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by ">junit.framework.Assert
|
|
|
97 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by ">junit.framework.TestCase
|
|
|
98 |
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>net.sourceforge.stat4j.AlertTest</B>
|
|
|
99 |
</PRE>
|
|
|
100 |
<DL>
|
|
|
101 |
<DT><B>All Implemented Interfaces:</B> <DD>junit.framework.Test</DD>
|
|
|
102 |
</DL>
|
|
|
103 |
<HR>
|
|
|
104 |
<DL>
|
|
|
105 |
<DT><PRE>public class <B>AlertTest</B><DT>extends junit.framework.TestCase</DL>
|
|
|
106 |
</PRE>
|
|
|
107 |
|
|
|
108 |
<P>
|
|
|
109 |
<HR>
|
|
|
110 |
|
|
|
111 |
<P>
|
|
|
112 |
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
113 |
|
|
|
114 |
<A NAME="field_summary"><!-- --></A>
|
|
|
115 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
116 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
|
117 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
|
118 |
<B>Field Summary</B></FONT></TH>
|
|
|
119 |
</TR>
|
|
|
120 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
121 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
122 |
<CODE>private <A HREF="../../../net/sourceforge/stat4j/Alert.html" title="class in net.sourceforge.stat4j">Alert</A></CODE></FONT></TD>
|
|
|
123 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#alert">alert</A></B></CODE>
|
|
|
124 |
|
|
|
125 |
<BR>
|
|
|
126 |
</TD>
|
|
|
127 |
</TR>
|
|
|
128 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
129 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
130 |
<CODE>private <A HREF="../../../net/sourceforge/stat4j/Threshold.html" title="class in net.sourceforge.stat4j">Threshold</A></CODE></FONT></TD>
|
|
|
131 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#belowOne">belowOne</A></B></CODE>
|
|
|
132 |
|
|
|
133 |
<BR>
|
|
|
134 |
</TD>
|
|
|
135 |
</TR>
|
|
|
136 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
137 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
138 |
<CODE>private static double</CODE></FONT></TD>
|
|
|
139 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#MEASURE_CRITICAL">MEASURE_CRITICAL</A></B></CODE>
|
|
|
140 |
|
|
|
141 |
<BR>
|
|
|
142 |
</TD>
|
|
|
143 |
</TR>
|
|
|
144 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
145 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
146 |
<CODE>private static double</CODE></FONT></TD>
|
|
|
147 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#MEASURE_WARN">MEASURE_WARN</A></B></CODE>
|
|
|
148 |
|
|
|
149 |
<BR>
|
|
|
150 |
</TD>
|
|
|
151 |
</TR>
|
|
|
152 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
153 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
154 |
<CODE>private static int</CODE></FONT></TD>
|
|
|
155 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#QUIET_PERIOD_MS">QUIET_PERIOD_MS</A></B></CODE>
|
|
|
156 |
|
|
|
157 |
<BR>
|
|
|
158 |
</TD>
|
|
|
159 |
</TR>
|
|
|
160 |
</TABLE>
|
|
|
161 |
|
|
|
162 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
163 |
|
|
|
164 |
<A NAME="constructor_summary"><!-- --></A>
|
|
|
165 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
166 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
|
167 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
|
168 |
<B>Constructor Summary</B></FONT></TH>
|
|
|
169 |
</TR>
|
|
|
170 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
171 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#AlertTest()">AlertTest</A></B>()</CODE>
|
|
|
172 |
|
|
|
173 |
<BR>
|
|
|
174 |
</TD>
|
|
|
175 |
</TR>
|
|
|
176 |
</TABLE>
|
|
|
177 |
|
|
|
178 |
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
179 |
|
|
|
180 |
<A NAME="method_summary"><!-- --></A>
|
|
|
181 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
182 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
|
183 |
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
|
184 |
<B>Method Summary</B></FONT></TH>
|
|
|
185 |
</TR>
|
|
|
186 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
187 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
188 |
<CODE>protected void</CODE></FONT></TD>
|
|
|
189 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#setUp()">setUp</A></B>()</CODE>
|
|
|
190 |
|
|
|
191 |
<BR>
|
|
|
192 |
</TD>
|
|
|
193 |
</TR>
|
|
|
194 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
195 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
196 |
<CODE>private void</CODE></FONT></TD>
|
|
|
197 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#simulateQuietPeriodEnded()">simulateQuietPeriodEnded</A></B>()</CODE>
|
|
|
198 |
|
|
|
199 |
<BR>
|
|
|
200 |
</TD>
|
|
|
201 |
</TR>
|
|
|
202 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
203 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
204 |
<CODE> void</CODE></FONT></TD>
|
|
|
205 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#test_new_critical_event_triggers_alert_even_in_quiet_period()">test_new_critical_event_triggers_alert_even_in_quiet_period</A></B>()</CODE>
|
|
|
206 |
|
|
|
207 |
<BR>
|
|
|
208 |
</TD>
|
|
|
209 |
</TR>
|
|
|
210 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
211 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
212 |
<CODE> void</CODE></FONT></TD>
|
|
|
213 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#test_not_triggered_again_for_quietperiod()">test_not_triggered_again_for_quietperiod</A></B>()</CODE>
|
|
|
214 |
|
|
|
215 |
<BR>
|
|
|
216 |
</TD>
|
|
|
217 |
</TR>
|
|
|
218 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
219 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
220 |
<CODE> void</CODE></FONT></TD>
|
|
|
221 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#test_repeated_warn_and_critical_events_ignored_in_quiet_period()">test_repeated_warn_and_critical_events_ignored_in_quiet_period</A></B>()</CODE>
|
|
|
222 |
|
|
|
223 |
<BR>
|
|
|
224 |
</TD>
|
|
|
225 |
</TR>
|
|
|
226 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
227 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
228 |
<CODE> void</CODE></FONT></TD>
|
|
|
229 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#test_reset_after_quiet_period_end()">test_reset_after_quiet_period_end</A></B>()</CODE>
|
|
|
230 |
|
|
|
231 |
<BR>
|
|
|
232 |
</TD>
|
|
|
233 |
</TR>
|
|
|
234 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
235 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
|
236 |
<CODE> void</CODE></FONT></TD>
|
|
|
237 |
<TD><CODE><B><A HREF="../../../net/sourceforge/stat4j/AlertTest.html#test_triggered_again_after_quietperiod_end()">test_triggered_again_after_quietperiod_end</A></B>()</CODE>
|
|
|
238 |
|
|
|
239 |
<BR>
|
|
|
240 |
</TD>
|
|
|
241 |
</TR>
|
|
|
242 |
</TABLE>
|
|
|
243 |
<A NAME="methods_inherited_from_class_junit.framework.TestCase"><!-- --></A>
|
|
|
244 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
245 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
|
246 |
<TH ALIGN="left"><B>Methods inherited from class junit.framework.TestCase</B></TH>
|
|
|
247 |
</TR>
|
|
|
248 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
249 |
<TD><CODE>countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString</CODE></TD>
|
|
|
250 |
</TR>
|
|
|
251 |
</TABLE>
|
|
|
252 |
<A NAME="methods_inherited_from_class_junit.framework.Assert"><!-- --></A>
|
|
|
253 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
254 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
|
255 |
<TH ALIGN="left"><B>Methods inherited from class junit.framework.Assert</B></TH>
|
|
|
256 |
</TR>
|
|
|
257 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
258 |
<TD><CODE>assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail</CODE></TD>
|
|
|
259 |
</TR>
|
|
|
260 |
</TABLE>
|
|
|
261 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
|
262 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
263 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
|
264 |
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
|
265 |
</TR>
|
|
|
266 |
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
|
267 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
|
|
268 |
</TR>
|
|
|
269 |
</TABLE>
|
|
|
270 |
|
|
|
271 |
<P>
|
|
|
272 |
|
|
|
273 |
<!-- ============ FIELD DETAIL =========== -->
|
|
|
274 |
|
|
|
275 |
<A NAME="field_detail"><!-- --></A>
|
|
|
276 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
277 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
|
278 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
|
279 |
<B>Field Detail</B></FONT></TH>
|
|
|
280 |
</TR>
|
|
|
281 |
</TABLE>
|
|
|
282 |
|
|
|
283 |
<A NAME="QUIET_PERIOD_MS"><!-- --></A><H3>
|
|
|
284 |
QUIET_PERIOD_MS</H3>
|
|
|
285 |
<PRE>
|
|
|
286 |
private static final int <B>QUIET_PERIOD_MS</B></PRE>
|
|
|
287 |
<DL>
|
|
|
288 |
<DL>
|
|
|
289 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.sourceforge.stat4j.AlertTest.QUIET_PERIOD_MS">Constant Field Values</A></DL>
|
|
|
290 |
</DL>
|
|
|
291 |
<HR>
|
|
|
292 |
|
|
|
293 |
<A NAME="MEASURE_WARN"><!-- --></A><H3>
|
|
|
294 |
MEASURE_WARN</H3>
|
|
|
295 |
<PRE>
|
|
|
296 |
private static final double <B>MEASURE_WARN</B></PRE>
|
|
|
297 |
<DL>
|
|
|
298 |
<DL>
|
|
|
299 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.sourceforge.stat4j.AlertTest.MEASURE_WARN">Constant Field Values</A></DL>
|
|
|
300 |
</DL>
|
|
|
301 |
<HR>
|
|
|
302 |
|
|
|
303 |
<A NAME="MEASURE_CRITICAL"><!-- --></A><H3>
|
|
|
304 |
MEASURE_CRITICAL</H3>
|
|
|
305 |
<PRE>
|
|
|
306 |
private static final double <B>MEASURE_CRITICAL</B></PRE>
|
|
|
307 |
<DL>
|
|
|
308 |
<DL>
|
|
|
309 |
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.sourceforge.stat4j.AlertTest.MEASURE_CRITICAL">Constant Field Values</A></DL>
|
|
|
310 |
</DL>
|
|
|
311 |
<HR>
|
|
|
312 |
|
|
|
313 |
<A NAME="belowOne"><!-- --></A><H3>
|
|
|
314 |
belowOne</H3>
|
|
|
315 |
<PRE>
|
|
|
316 |
private final <A HREF="../../../net/sourceforge/stat4j/Threshold.html" title="class in net.sourceforge.stat4j">Threshold</A> <B>belowOne</B></PRE>
|
|
|
317 |
<DL>
|
|
|
318 |
<DL>
|
|
|
319 |
</DL>
|
|
|
320 |
</DL>
|
|
|
321 |
<HR>
|
|
|
322 |
|
|
|
323 |
<A NAME="alert"><!-- --></A><H3>
|
|
|
324 |
alert</H3>
|
|
|
325 |
<PRE>
|
|
|
326 |
private <A HREF="../../../net/sourceforge/stat4j/Alert.html" title="class in net.sourceforge.stat4j">Alert</A> <B>alert</B></PRE>
|
|
|
327 |
<DL>
|
|
|
328 |
<DL>
|
|
|
329 |
</DL>
|
|
|
330 |
</DL>
|
|
|
331 |
|
|
|
332 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
333 |
|
|
|
334 |
<A NAME="constructor_detail"><!-- --></A>
|
|
|
335 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
336 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
|
337 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
|
338 |
<B>Constructor Detail</B></FONT></TH>
|
|
|
339 |
</TR>
|
|
|
340 |
</TABLE>
|
|
|
341 |
|
|
|
342 |
<A NAME="AlertTest()"><!-- --></A><H3>
|
|
|
343 |
AlertTest</H3>
|
|
|
344 |
<PRE>
|
|
|
345 |
public <B>AlertTest</B>()</PRE>
|
|
|
346 |
<DL>
|
|
|
347 |
</DL>
|
|
|
348 |
|
|
|
349 |
<!-- ============ METHOD DETAIL ========== -->
|
|
|
350 |
|
|
|
351 |
<A NAME="method_detail"><!-- --></A>
|
|
|
352 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
|
353 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
|
354 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
|
355 |
<B>Method Detail</B></FONT></TH>
|
|
|
356 |
</TR>
|
|
|
357 |
</TABLE>
|
|
|
358 |
|
|
|
359 |
<A NAME="setUp()"><!-- --></A><H3>
|
|
|
360 |
setUp</H3>
|
|
|
361 |
<PRE>
|
|
|
362 |
protected void <B>setUp</B>()
|
|
|
363 |
throws java.lang.Exception</PRE>
|
|
|
364 |
<DL>
|
|
|
365 |
<DD><DL>
|
|
|
366 |
<DT><B>Overrides:</B><DD><CODE>setUp</CODE> in class <CODE>junit.framework.TestCase</CODE></DL>
|
|
|
367 |
</DD>
|
|
|
368 |
<DD><DL>
|
|
|
369 |
|
|
|
370 |
<DT><B>Throws:</B>
|
|
|
371 |
<DD><CODE>java.lang.Exception</CODE></DL>
|
|
|
372 |
</DD>
|
|
|
373 |
</DL>
|
|
|
374 |
<HR>
|
|
|
375 |
|
|
|
376 |
<A NAME="test_not_triggered_again_for_quietperiod()"><!-- --></A><H3>
|
|
|
377 |
test_not_triggered_again_for_quietperiod</H3>
|
|
|
378 |
<PRE>
|
|
|
379 |
public void <B>test_not_triggered_again_for_quietperiod</B>()
|
|
|
380 |
throws java.lang.Exception</PRE>
|
|
|
381 |
<DL>
|
|
|
382 |
<DD><DL>
|
|
|
383 |
|
|
|
384 |
<DT><B>Throws:</B>
|
|
|
385 |
<DD><CODE>java.lang.Exception</CODE></DL>
|
|
|
386 |
</DD>
|
|
|
387 |
</DL>
|
|
|
388 |
<HR>
|
|
|
389 |
|
|
|
390 |
<A NAME="test_triggered_again_after_quietperiod_end()"><!-- --></A><H3>
|
|
|
391 |
test_triggered_again_after_quietperiod_end</H3>
|
|
|
392 |
<PRE>
|
|
|
393 |
public void <B>test_triggered_again_after_quietperiod_end</B>()
|
|
|
394 |
throws java.lang.Exception</PRE>
|
|
|
395 |
<DL>
|
|
|
396 |
<DD><DL>
|
|
|
397 |
|
|
|
398 |
<DT><B>Throws:</B>
|
|
|
399 |
<DD><CODE>java.lang.Exception</CODE></DL>
|
|
|
400 |
</DD>
|
|
|
401 |
</DL>
|
|
|
402 |
<HR>
|
|
|
403 |
|
|
|
404 |
<A NAME="simulateQuietPeriodEnded()"><!-- --></A><H3>
|
|
|
405 |
simulateQuietPeriodEnded</H3>
|
|
|
406 |
<PRE>
|
|
|
407 |
private void <B>simulateQuietPeriodEnded</B>()</PRE>
|
|
|
408 |
<DL>
|
|
|
409 |
<DD><DL>
|
|
|
410 |
</DL>
|
|
|
411 |
</DD>
|
|
|
412 |
</DL>
|
|
|
413 |
<HR>
|
|
|
414 |
|
|
|
415 |
<A NAME="test_new_critical_event_triggers_alert_even_in_quiet_period()"><!-- --></A><H3>
|
|
|
416 |
test_new_critical_event_triggers_alert_even_in_quiet_period</H3>
|
|
|
417 |
<PRE>
|
|
|
418 |
public void <B>test_new_critical_event_triggers_alert_even_in_quiet_period</B>()
|
|
|
419 |
throws java.lang.Exception</PRE>
|
|
|
420 |
<DL>
|
|
|
421 |
<DD><DL>
|
|
|
422 |
|
|
|
423 |
<DT><B>Throws:</B>
|
|
|
424 |
<DD><CODE>java.lang.Exception</CODE></DL>
|
|
|
425 |
</DD>
|
|
|
426 |
</DL>
|
|
|
427 |
<HR>
|
|
|
428 |
|
|
|
429 |
<A NAME="test_reset_after_quiet_period_end()"><!-- --></A><H3>
|
|
|
430 |
test_reset_after_quiet_period_end</H3>
|
|
|
431 |
<PRE>
|
|
|
432 |
public void <B>test_reset_after_quiet_period_end</B>()
|
|
|
433 |
throws java.lang.Exception</PRE>
|
|
|
434 |
<DL>
|
|
|
435 |
<DD><DL>
|
|
|
436 |
|
|
|
437 |
<DT><B>Throws:</B>
|
|
|
438 |
<DD><CODE>java.lang.Exception</CODE></DL>
|
|
|
439 |
</DD>
|
|
|
440 |
</DL>
|
|
|
441 |
<HR>
|
|
|
442 |
|
|
|
443 |
<A NAME="test_repeated_warn_and_critical_events_ignored_in_quiet_period()"><!-- --></A><H3>
|
|
|
444 |
test_repeated_warn_and_critical_events_ignored_in_quiet_period</H3>
|
|
|
445 |
<PRE>
|
|
|
446 |
public void <B>test_repeated_warn_and_critical_events_ignored_in_quiet_period</B>()
|
|
|
447 |
throws java.lang.Exception</PRE>
|
|
|
448 |
<DL>
|
|
|
449 |
<DD><DL>
|
|
|
450 |
|
|
|
451 |
<DT><B>Throws:</B>
|
|
|
452 |
<DD><CODE>java.lang.Exception</CODE></DL>
|
|
|
453 |
</DD>
|
|
|
454 |
</DL>
|
|
|
455 |
<!-- ========= END OF CLASS DATA ========= -->
|
|
|
456 |
<HR>
|
|
|
457 |
|
|
|
458 |
|
|
|
459 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
|
460 |
<A NAME="navbar_bottom"><!-- --></A>
|
|
|
461 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
|
462 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
|
463 |
<TR>
|
|
|
464 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
|
465 |
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
|
466 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
|
467 |
<TR ALIGN="center" VALIGN="top">
|
|
|
468 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
|
469 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
|
470 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
|
471 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AlertTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
|
472 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
|
473 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
|
474 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
|
475 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
|
476 |
</TR>
|
|
|
477 |
</TABLE>
|
|
|
478 |
</TD>
|
|
|
479 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
|
480 |
</EM>
|
|
|
481 |
</TD>
|
|
|
482 |
</TR>
|
|
|
483 |
|
|
|
484 |
<TR>
|
|
|
485 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
|
486 |
<A HREF="../../../net/sourceforge/stat4j/Alert.html" title="class in net.sourceforge.stat4j"><B>PREV CLASS</B></A>
|
|
|
487 |
<A HREF="../../../net/sourceforge/stat4j/Calculator.html" title="interface in net.sourceforge.stat4j"><B>NEXT CLASS</B></A></FONT></TD>
|
|
|
488 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
|
489 |
<A HREF="../../../index.html?net/sourceforge/stat4j/AlertTest.html" target="_top"><B>FRAMES</B></A>
|
|
|
490 |
<A HREF="AlertTest.html" target="_top"><B>NO FRAMES</B></A>
|
|
|
491 |
<SCRIPT type="text/javascript">
|
|
|
492 |
<!--
|
|
|
493 |
if(window==top) {
|
|
|
494 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
|
495 |
}
|
|
|
496 |
//-->
|
|
|
497 |
</SCRIPT>
|
|
|
498 |
<NOSCRIPT>
|
|
|
499 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
|
500 |
</NOSCRIPT>
|
|
|
501 |
|
|
|
502 |
|
|
|
503 |
</FONT></TD>
|
|
|
504 |
</TR>
|
|
|
505 |
<TR>
|
|
|
506 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
|
507 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
|
508 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
|
509 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
|
510 |
</TR>
|
|
|
511 |
</TABLE>
|
|
|
512 |
<A NAME="skip-navbar_bottom"></A>
|
|
|
513 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
514 |
|
|
|
515 |
<HR>
|
|
|
516 |
|
|
|
517 |
</BODY>
|
|
|
518 |
</HTML>
|