kb-simple-metrics 0.0.12-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. data/.gitignore +20 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +13 -0
  5. data/README.md +144 -0
  6. data/Rakefile +7 -0
  7. data/doc/NurseRatched.html +246 -0
  8. data/doc/Rdio.html +233 -0
  9. data/doc/Samovar.html +241 -0
  10. data/doc/Simple/Metrics/Check.html +308 -0
  11. data/doc/Simple/Metrics/Graphite.html +262 -0
  12. data/doc/Simple/Metrics/HEALTHY.html +144 -0
  13. data/doc/Simple/Metrics/Health.html +288 -0
  14. data/doc/Simple/Metrics/Healthchecks.html +413 -0
  15. data/doc/Simple/Metrics/Meter.html +295 -0
  16. data/doc/Simple/Metrics/RackMetrics.html +366 -0
  17. data/doc/Simple/Metrics/Timer.html +232 -0
  18. data/doc/Simple/Metrics/UNHEALTHY.html +144 -0
  19. data/doc/Simple/Metrics/WARNING.html +144 -0
  20. data/doc/Simple/Metrics.html +510 -0
  21. data/doc/Simple.html +117 -0
  22. data/doc/_index.html +259 -0
  23. data/doc/class_list.html +53 -0
  24. data/doc/css/common.css +1 -0
  25. data/doc/css/full_list.css +57 -0
  26. data/doc/css/style.css +328 -0
  27. data/doc/file.README.html +224 -0
  28. data/doc/file_list.html +55 -0
  29. data/doc/frames.html +28 -0
  30. data/doc/index.html +224 -0
  31. data/doc/js/app.js +214 -0
  32. data/doc/js/full_list.js +173 -0
  33. data/doc/js/jquery.js +4 -0
  34. data/doc/method_list.html +180 -0
  35. data/doc/top-level-namespace.html +114 -0
  36. data/lib/java/jackson-core-asl-1.9.5.jar +0 -0
  37. data/lib/java/jackson-mapper-asl-1.9.5.jar +0 -0
  38. data/lib/java/metrics-core-2.1.1.jar +0 -0
  39. data/lib/java/metrics-graphite-2.1.1.jar +0 -0
  40. data/lib/java/metrics-servlet-2.1.1.jar +0 -0
  41. data/lib/java/slf4j-api-1.6.4.jar +0 -0
  42. data/lib/simple/metrics/graphite.rb +23 -0
  43. data/lib/simple/metrics/health.rb +15 -0
  44. data/lib/simple/metrics/healthcheck.rb +65 -0
  45. data/lib/simple/metrics/meter.rb +23 -0
  46. data/lib/simple/metrics/rack_metrics.rb +32 -0
  47. data/lib/simple/metrics/timer.rb +24 -0
  48. data/lib/simple/metrics.rb +51 -0
  49. data/lib/simple/version.rb +5 -0
  50. data/lib/simple.rb +6 -0
  51. data/simple-metrics.gemspec +21 -0
  52. data/spec/metrics/graphite_spec.rb +9 -0
  53. data/spec/metrics/healthcheck_spec.rb +55 -0
  54. data/spec/metrics/meter_spec.rb +20 -0
  55. data/spec/metrics/timer_spec.rb +29 -0
  56. data/spec/spec_helper.rb +13 -0
  57. metadata +182 -0
data/doc/Samovar.html ADDED
@@ -0,0 +1,241 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Samovar
8
+
9
+ &mdash; Documentation by YARD 0.8.3
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (S)</a> &raquo;
35
+
36
+
37
+ <span class="title">Samovar</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: Samovar
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Samovar</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2">Includes:</dt>
94
+ <dd class="r2"><span class='object_link'><a href="Simple/Metrics.html" title="Simple::Metrics (module)">Simple::Metrics</a></span></dd>
95
+
96
+
97
+
98
+
99
+
100
+ <dt class="r1 last">Defined in:</dt>
101
+ <dd class="r1 last">README.md</dd>
102
+
103
+ </dl>
104
+ <div class="clear"></div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+ <p>
109
+ Timers
110
+ </p>
111
+
112
+
113
+ </div>
114
+ </div>
115
+ <div class="tags">
116
+
117
+
118
+ </div>
119
+ <h2>Constant Summary</h2>
120
+
121
+
122
+
123
+
124
+ <h2>Constant Summary</h2>
125
+
126
+ <h3 class="inherited">Constants included
127
+ from <span class='object_link'><a href="Simple/Metrics.html" title="Simple::Metrics (module)">Simple::Metrics</a></span></h3>
128
+ <p class="inherited"><span class='object_link'><a href="Simple/Metrics.html#DEFAULT_DURATION_UNIT-constant" title="Simple::Metrics::DEFAULT_DURATION_UNIT (constant)">Simple::Metrics::DEFAULT_DURATION_UNIT</a></span>, <span class='object_link'><a href="Simple/Metrics.html#DEFAULT_RATE_UNIT-constant" title="Simple::Metrics::DEFAULT_RATE_UNIT (constant)">Simple::Metrics::DEFAULT_RATE_UNIT</a></span>, <span class='object_link'><a href="Simple/Metrics.html#DEFAULT_TIMING_UNIT-constant" title="Simple::Metrics::DEFAULT_TIMING_UNIT (constant)">Simple::Metrics::DEFAULT_TIMING_UNIT</a></span>, <span class='object_link'><a href="Simple/Metrics.html#VERSION-constant" title="Simple::Metrics::VERSION (constant)">Simple::Metrics::VERSION</a></span></p>
129
+
130
+
131
+
132
+
133
+
134
+
135
+ <h2>
136
+ Instance Method Summary
137
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
138
+ </h2>
139
+
140
+ <ul class="summary">
141
+
142
+ <li class="public ">
143
+ <span class="summary_signature">
144
+
145
+ <a href="#buh-instance_method" title="#buh (instance method)">- (Object) <strong>buh</strong> </a>
146
+
147
+
148
+
149
+ </span>
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <span class="summary_desc"><div class='inline'></div></span>
160
+
161
+ </li>
162
+
163
+
164
+ </ul>
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Simple/Metrics.html" title="Simple::Metrics (module)">Simple::Metrics</a></span></h3>
177
+ <p class="inherited"><span class='object_link'><a href="Simple/Metrics.html#metrics_registry-instance_method" title="Simple::Metrics#metrics_registry (method)">#metrics_registry</a></span>, <span class='object_link'><a href="Simple/Metrics.html#new_metric_name-instance_method" title="Simple::Metrics#new_metric_name (method)">#new_metric_name</a></span>, <span class='object_link'><a href="Simple/Metrics.html#sanitize_classname-instance_method" title="Simple::Metrics#sanitize_classname (method)">#sanitize_classname</a></span></p>
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="Simple/Metrics/Timer.html" title="Simple::Metrics::Timer (module)">Simple::Metrics::Timer</a></span></h3>
188
+ <p class="inherited"><span class='object_link'><a href="Simple/Metrics/Timer.html#timer-instance_method" title="Simple::Metrics::Timer#timer (method)">#timer</a></span></p>
189
+
190
+
191
+ <div id="instance_method_details" class="method_details_list">
192
+ <h2>Instance Method Details</h2>
193
+
194
+
195
+ <div class="method_details first">
196
+ <h3 class="signature first" id="buh-instance_method">
197
+
198
+ - (<tt>Object</tt>) <strong>buh</strong>
199
+
200
+
201
+
202
+
203
+
204
+ </h3><table class="source_code">
205
+ <tr>
206
+ <td>
207
+ <pre class="lines">
208
+
209
+
210
+ 52
211
+ 53
212
+ 54
213
+ 55
214
+ 56</pre>
215
+ </td>
216
+ <td>
217
+ <pre class="code"><span class="info file"># File 'README.md', line 52</span>
218
+
219
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_buh identifier id'>buh</span>
220
+ <span class='rubyid_timer identifier id'>timer</span><span class='lparen token'>(</span><span class='string val'>&quot;tea time&quot;</span><span class='rparen token'>)</span> <span class='rubyid_do do kw'>do</span>
221
+ <span class='string val'>&quot;Brewing...&quot;</span>
222
+ <span class='rubyid_end end kw'>end</span>
223
+ <span class='rubyid_end end kw'>end</span>
224
+ </pre>
225
+ </td>
226
+ </tr>
227
+ </table>
228
+ </div>
229
+
230
+ </div>
231
+
232
+ </div>
233
+
234
+ <div id="footer">
235
+ Generated on Mon Nov 05 22:03:45 2012 by
236
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
+ 0.8.3 (ruby-1.9.2).
238
+ </div>
239
+
240
+ </body>
241
+ </html>
@@ -0,0 +1,308 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Simple::Metrics::Check
8
+
9
+ &mdash; Documentation by YARD 0.8.3
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../../';
20
+ framesUrl = "../../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../../_index.html">Index (C)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../../Simple.html" title="Simple (module)">Simple</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Metrics.html" title="Simple::Metrics (module)">Metrics</a></span></span>
36
+ &raquo;
37
+ <span class="title">Check</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: Simple::Metrics::Check
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Java::ComYammerMetricsCore::HealthCheck</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Java::ComYammerMetricsCore::HealthCheck</li>
82
+
83
+ <li class="next">Simple::Metrics::Check</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/simple/metrics/healthcheck.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <h2>
113
+ Instance Method Summary
114
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
115
+ </h2>
116
+
117
+ <ul class="summary">
118
+
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#check-instance_method" title="#check (instance method)">- (Object) <strong>check</strong> </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ <span class="summary_desc"><div class='inline'>
137
+ <p>Call the block and capture the return value.</p>
138
+ </div></span>
139
+
140
+ </li>
141
+
142
+
143
+ <li class="public ">
144
+ <span class="summary_signature">
145
+
146
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Check) <strong>initialize</strong>(name, &amp;blk) </a>
147
+
148
+
149
+
150
+ </span>
151
+
152
+
153
+ <span class="note title constructor">constructor</span>
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ <span class="summary_desc"><div class='inline'>
163
+ <p>A new instance of Check.</p>
164
+ </div></span>
165
+
166
+ </li>
167
+
168
+
169
+ </ul>
170
+
171
+
172
+
173
+ <div id="constructor_details" class="method_details_list">
174
+ <h2>Constructor Details</h2>
175
+
176
+ <div class="method_details first">
177
+ <h3 class="signature first" id="initialize-instance_method">
178
+
179
+ - (<tt><span class='object_link'><a href="" title="Simple::Metrics::Check (class)">Check</a></span></tt>) <strong>initialize</strong>(name, &amp;blk)
180
+
181
+
182
+
183
+
184
+
185
+ </h3><div class="docstring">
186
+ <div class="discussion">
187
+
188
+ <p>A new instance of Check</p>
189
+
190
+
191
+ </div>
192
+ </div>
193
+ <div class="tags">
194
+
195
+
196
+ </div><table class="source_code">
197
+ <tr>
198
+ <td>
199
+ <pre class="lines">
200
+
201
+
202
+ 38
203
+ 39
204
+ 40
205
+ 41</pre>
206
+ </td>
207
+ <td>
208
+ <pre class="code"><span class="info file"># File 'lib/simple/metrics/healthcheck.rb', line 38</span>
209
+
210
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='bitand op'>&amp;</span><span class='rubyid_blk identifier id'>blk</span><span class='rparen token'>)</span>
211
+ <span class='rubyid_super super kw'>super</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='rparen token'>)</span>
212
+ <span class='rubyid_@blk ivar id'>@blk</span> <span class='assign token'>=</span> <span class='rubyid_blk identifier id'>blk</span>
213
+ <span class='rubyid_end end kw'>end</span>
214
+ </pre>
215
+ </td>
216
+ </tr>
217
+ </table>
218
+ </div>
219
+
220
+ </div>
221
+
222
+
223
+ <div id="instance_method_details" class="method_details_list">
224
+ <h2>Instance Method Details</h2>
225
+
226
+
227
+ <div class="method_details first">
228
+ <h3 class="signature first" id="check-instance_method">
229
+
230
+ - (<tt>Object</tt>) <strong>check</strong>
231
+
232
+
233
+
234
+
235
+
236
+ </h3><div class="docstring">
237
+ <div class="discussion">
238
+
239
+ <p>Call the block and capture the return value. If the result is
240
+ `Simple::Metrics::HEALTHY`, mark the healthcheck as healthy. If the result
241
+ is a `Simple::Metrics::WARNING`, mark the healthcheck in the warning state.
242
+ If the result is a `Simple::Metrics::UNHEALTHY`, or throws an error, mark
243
+ the healthcheck as unhealthy.</p>
244
+
245
+
246
+ </div>
247
+ </div>
248
+ <div class="tags">
249
+
250
+
251
+ </div><table class="source_code">
252
+ <tr>
253
+ <td>
254
+ <pre class="lines">
255
+
256
+
257
+ 48
258
+ 49
259
+ 50
260
+ 51
261
+ 52
262
+ 53
263
+ 54
264
+ 55
265
+ 56
266
+ 57
267
+ 58
268
+ 59
269
+ 60
270
+ 61
271
+ 62</pre>
272
+ </td>
273
+ <td>
274
+ <pre class="code"><span class="info file"># File 'lib/simple/metrics/healthcheck.rb', line 48</span>
275
+
276
+ <span class='rubyid_def def kw'>def</span> <span class='rubyid_check identifier id'>check</span>
277
+ <span class='rubyid_begin begin kw'>begin</span>
278
+ <span class='rubyid_r identifier id'>r</span> <span class='assign token'>=</span> <span class='rubyid_@blk ivar id'>@blk</span><span class='dot token'>.</span><span class='rubyid_call identifier id'>call</span>
279
+ <span class='rubyid_case case kw'>case</span> <span class='lparen token'>(</span><span class='rubyid_r identifier id'>r</span><span class='dot token'>.</span><span class='rubyid_is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='rubyid_Class constant id'>Class</span><span class='rparen token'>)</span> <span class='question op'>?</span> <span class='rubyid_r identifier id'>r</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</span> <span class='colon op'>:</span> <span class='rubyid_r identifier id'>r</span><span class='rparen token'>)</span>
280
+ <span class='rubyid_when when kw'>when</span> <span class='rubyid_Simple constant id'>Simple</span><span class='colon2 op'>::</span><span class='rubyid_Metrics constant id'>Metrics</span><span class='colon2 op'>::</span><span class='rubyid_HEALTHY constant id'>HEALTHY</span>
281
+ <span class='rubyid_Java constant id'>Java</span><span class='colon2 op'>::</span><span class='rubyid_ComYammerMetricsCore constant id'>ComYammerMetricsCore</span><span class='colon2 op'>::</span><span class='rubyid_HealthCheck constant id'>HealthCheck</span><span class='colon2 op'>::</span><span class='rubyid_Result constant id'>Result</span><span class='dot token'>.</span><span class='rubyid_healthy identifier id'>healthy</span>
282
+ <span class='rubyid_when when kw'>when</span> <span class='rubyid_Simple constant id'>Simple</span><span class='colon2 op'>::</span><span class='rubyid_Metrics constant id'>Metrics</span><span class='colon2 op'>::</span><span class='rubyid_WARNING constant id'>WARNING</span>
283
+ <span class='rubyid_Java constant id'>Java</span><span class='colon2 op'>::</span><span class='rubyid_ComYammerMetricsCore constant id'>ComYammerMetricsCore</span><span class='colon2 op'>::</span><span class='rubyid_HealthCheck constant id'>HealthCheck</span><span class='colon2 op'>::</span><span class='rubyid_Result constant id'>Result</span><span class='dot token'>.</span><span class='rubyid_warning identifier id'>warning</span>
284
+ <span class='rubyid_when when kw'>when</span> <span class='rubyid_Simple constant id'>Simple</span><span class='colon2 op'>::</span><span class='rubyid_Metrics constant id'>Metrics</span><span class='colon2 op'>::</span><span class='rubyid_UNHEALTHY constant id'>UNHEALTHY</span>
285
+ <span class='rubyid_Java constant id'>Java</span><span class='colon2 op'>::</span><span class='rubyid_ComYammerMetricsCore constant id'>ComYammerMetricsCore</span><span class='colon2 op'>::</span><span class='rubyid_HealthCheck constant id'>HealthCheck</span><span class='colon2 op'>::</span><span class='rubyid_Result constant id'>Result</span><span class='dot token'>.</span><span class='rubyid_unhealthy identifier id'>unhealthy</span><span class='lparen token'>(</span><span class='rubyid_r identifier id'>r</span><span class='dot token'>.</span><span class='rubyid_message identifier id'>message</span><span class='rparen token'>)</span>
286
+ <span class='rubyid_end end kw'>end</span>
287
+ <span class='rubyid_rescue rescue kw'>rescue</span> <span class='rubyid_StandardError constant id'>StandardError</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='rubyid_e identifier id'>e</span>
288
+ <span class='rubyid_Java constant id'>Java</span><span class='colon2 op'>::</span><span class='rubyid_ComYammerMetricsCore constant id'>ComYammerMetricsCore</span><span class='colon2 op'>::</span><span class='rubyid_HealthCheck constant id'>HealthCheck</span><span class='colon2 op'>::</span><span class='rubyid_Result constant id'>Result</span><span class='dot token'>.</span><span class='rubyid_unhealthy identifier id'>unhealthy</span><span class='lparen token'>(</span><span class='rubyid_e identifier id'>e</span><span class='dot token'>.</span><span class='rubyid_message identifier id'>message</span><span class='rparen token'>)</span>
289
+ <span class='rubyid_end end kw'>end</span>
290
+ <span class='rubyid_end end kw'>end</span>
291
+ </pre>
292
+ </td>
293
+ </tr>
294
+ </table>
295
+ </div>
296
+
297
+ </div>
298
+
299
+ </div>
300
+
301
+ <div id="footer">
302
+ Generated on Mon May 13 23:22:16 2013 by
303
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
304
+ 0.8.3 (ruby-1.9.3).
305
+ </div>
306
+
307
+ </body>
308
+ </html>