triglav-agent 1.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +6 -0
  5. data/.yardopts +6 -0
  6. data/CHANGELOG.md +3 -0
  7. data/CODE_OF_CONDUCT.md +49 -0
  8. data/Gemfile +5 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +59 -0
  11. data/Rakefile +11 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/docs/Triglav/Agent/ApiClient/AuthenticationError.html +150 -0
  15. data/docs/Triglav/Agent/ApiClient/ConnectionError.html +150 -0
  16. data/docs/Triglav/Agent/ApiClient/Error.html +296 -0
  17. data/docs/Triglav/Agent/ApiClient.html +545 -0
  18. data/docs/Triglav/Agent/Base/CLI.html +498 -0
  19. data/docs/Triglav/Agent/Base/Connection.html +258 -0
  20. data/docs/Triglav/Agent/Base/Monitor.html +370 -0
  21. data/docs/Triglav/Agent/Base/Processor.html +623 -0
  22. data/docs/Triglav/Agent/Base/Setting.html +1081 -0
  23. data/docs/Triglav/Agent/Base/Worker.html +635 -0
  24. data/docs/Triglav/Agent/Base.html +121 -0
  25. data/docs/Triglav/Agent/Configuration.html +967 -0
  26. data/docs/Triglav/Agent/Error.html +130 -0
  27. data/docs/Triglav/Agent/HashUtil.html +351 -0
  28. data/docs/Triglav/Agent/LogFormatter.html +271 -0
  29. data/docs/Triglav/Agent/Logger.html +287 -0
  30. data/docs/Triglav/Agent/StorageFile.html +1130 -0
  31. data/docs/Triglav/Agent/Timer.html +424 -0
  32. data/docs/Triglav/Agent/TooManyError.html +134 -0
  33. data/docs/Triglav/Agent.html +131 -0
  34. data/docs/Triglav.html +119 -0
  35. data/docs/_index.html +335 -0
  36. data/docs/class_list.html +51 -0
  37. data/docs/css/common.css +1 -0
  38. data/docs/css/full_list.css +58 -0
  39. data/docs/css/style.css +481 -0
  40. data/docs/file.LICENSE.html +72 -0
  41. data/docs/file.README.html +137 -0
  42. data/docs/file_list.html +61 -0
  43. data/docs/frames.html +17 -0
  44. data/docs/index.html +137 -0
  45. data/docs/js/app.js +243 -0
  46. data/docs/js/full_list.js +216 -0
  47. data/docs/js/jquery.js +4 -0
  48. data/docs/method_list.html +659 -0
  49. data/docs/top-level-namespace.html +112 -0
  50. data/example/config.yml +40 -0
  51. data/lib/triglav/agent/api_client.rb +199 -0
  52. data/lib/triglav/agent/base/cli.rb +98 -0
  53. data/lib/triglav/agent/base/connection.rb +30 -0
  54. data/lib/triglav/agent/base/monitor.rb +32 -0
  55. data/lib/triglav/agent/base/processor.rb +136 -0
  56. data/lib/triglav/agent/base/setting.rb +112 -0
  57. data/lib/triglav/agent/base/worker.rb +95 -0
  58. data/lib/triglav/agent/configuration.rb +79 -0
  59. data/lib/triglav/agent/error.rb +4 -0
  60. data/lib/triglav/agent/hash_util.rb +36 -0
  61. data/lib/triglav/agent/logger.rb +50 -0
  62. data/lib/triglav/agent/storage_file.rb +144 -0
  63. data/lib/triglav/agent/timer.rb +80 -0
  64. data/lib/triglav/agent/version.rb +5 -0
  65. data/lib/triglav/agent.rb +20 -0
  66. data/lib/triglav-agent.rb +1 -0
  67. data/triglav-agent.gemspec +33 -0
  68. metadata +250 -0
@@ -0,0 +1,967 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Triglav::Agent::Configuration
8
+
9
+ &mdash; Documentation by YARD 0.9.5
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Triglav::Agent::Configuration";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../../class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../../_index.html">Index (C)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../Triglav.html" title="Triglav (module)">Triglav</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Agent.html" title="Triglav::Agent (module)">Agent</a></span></span>
41
+ &raquo;
42
+ <span class="title">Configuration</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <iframe id="search_frame" src="../../class_list.html"></iframe>
63
+
64
+ <div id="content"><h1>Class: Triglav::Agent::Configuration
65
+
66
+
67
+
68
+ </h1>
69
+ <div class="box_info">
70
+
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
74
+ <span class="inheritName">Object</span>
75
+
76
+ <ul class="fullTree">
77
+ <li>Object</li>
78
+
79
+ <li class="next">Triglav::Agent::Configuration</li>
80
+
81
+ </ul>
82
+ <a href="#" class="inheritanceTree">show all</a>
83
+
84
+ </dd>
85
+ </dl>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/triglav/agent/configuration.rb</dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <h2>Overview</h2><div class="docstring">
105
+ <div class="discussion">
106
+
107
+ <p>Configure Triglav::Agent framework</p>
108
+
109
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>triglav/agent/configuration</span><span class='tstring_end'>&#39;</span></span>
110
+ <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>triglav/agent/vertica/worker</span><span class='tstring_end'>&#39;</span></span>
111
+ <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Configuration</span><span class='period'>.</span><span class='id identifier rubyid_configure'>configure</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
112
+ <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='symbol'>:vertica</span> <span class='comment'># default: :agent
113
+ </span> <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_cli_class'>cli_class</span> <span class='op'>=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Vertica</span><span class='op'>::</span><span class='const'>CLI</span>
114
+ <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_setting_class'>setting_class</span> <span class='op'>=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Vertica</span><span class='op'>::</span><span class='const'>Setting</span>
115
+ <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_worker_module'>worker_module</span> <span class='op'>=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Vertica</span><span class='op'>::</span><span class='const'>Worker</span>
116
+ <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_processor_class'>processor_class</span> <span class='op'>=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Vertica</span><span class='op'>::</span><span class='const'>Processor</span>
117
+ <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_monitor_class'>monitor_class</span> <span class='op'>=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Vertica</span><span class='op'>::</span><span class='const'>Monitor</span>
118
+ <span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_connection_class'>connection_class</span> <span class='op'>=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Vertica</span><span class='op'>::</span><span class='const'>Connection</span>
119
+ <span class='kw'>end</span>
120
+ <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Configuration</span><span class='period'>.</span><span class='id identifier rubyid_cli_class'>cli_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_run'>run</span>
121
+ </code></pre>
122
+
123
+
124
+ </div>
125
+ </div>
126
+ <div class="tags">
127
+
128
+
129
+ </div>
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+ <h2>
138
+ Class Method Summary
139
+ <small><a href="#" class="summary_toggle">collapse</a></small>
140
+ </h2>
141
+
142
+ <ul class="summary">
143
+
144
+ <li class="public ">
145
+ <span class="summary_signature">
146
+
147
+ <a href="#cli_class-class_method" title="cli_class (class method)">.<strong>cli_class</strong> &#x21d2; Object </a>
148
+
149
+
150
+
151
+ </span>
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+ <span class="summary_desc"><div class='inline'></div></span>
162
+
163
+ </li>
164
+
165
+
166
+ <li class="public ">
167
+ <span class="summary_signature">
168
+
169
+ <a href="#cli_class%3D-class_method" title="cli_class= (class method)">.<strong>cli_class=</strong>(cli_class) &#x21d2; Object </a>
170
+
171
+
172
+
173
+ </span>
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <span class="summary_desc"><div class='inline'></div></span>
184
+
185
+ </li>
186
+
187
+
188
+ <li class="public ">
189
+ <span class="summary_signature">
190
+
191
+ <a href="#configure-class_method" title="configure (class method)">.<strong>configure</strong> {|Triglav::Agent::Configuration| ... } &#x21d2; Object </a>
192
+
193
+
194
+
195
+ </span>
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ <span class="summary_desc"><div class='inline'></div></span>
206
+
207
+ </li>
208
+
209
+
210
+ <li class="public ">
211
+ <span class="summary_signature">
212
+
213
+ <a href="#connection_class-class_method" title="connection_class (class method)">.<strong>connection_class</strong> &#x21d2; Object </a>
214
+
215
+
216
+
217
+ </span>
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ <span class="summary_desc"><div class='inline'></div></span>
228
+
229
+ </li>
230
+
231
+
232
+ <li class="public ">
233
+ <span class="summary_signature">
234
+
235
+ <a href="#connection_class%3D-class_method" title="connection_class= (class method)">.<strong>connection_class=</strong>(connection_class) &#x21d2; Object </a>
236
+
237
+
238
+
239
+ </span>
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+ <span class="summary_desc"><div class='inline'></div></span>
250
+
251
+ </li>
252
+
253
+
254
+ <li class="public ">
255
+ <span class="summary_signature">
256
+
257
+ <a href="#monitor_class-class_method" title="monitor_class (class method)">.<strong>monitor_class</strong> &#x21d2; Object </a>
258
+
259
+
260
+
261
+ </span>
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+ <span class="summary_desc"><div class='inline'></div></span>
272
+
273
+ </li>
274
+
275
+
276
+ <li class="public ">
277
+ <span class="summary_signature">
278
+
279
+ <a href="#monitor_class%3D-class_method" title="monitor_class= (class method)">.<strong>monitor_class=</strong>(monitor_class) &#x21d2; Object </a>
280
+
281
+
282
+
283
+ </span>
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+ <span class="summary_desc"><div class='inline'></div></span>
294
+
295
+ </li>
296
+
297
+
298
+ <li class="public ">
299
+ <span class="summary_signature">
300
+
301
+ <a href="#name-class_method" title="name (class method)">.<strong>name</strong> &#x21d2; Object </a>
302
+
303
+
304
+
305
+ </span>
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+ <span class="summary_desc"><div class='inline'></div></span>
316
+
317
+ </li>
318
+
319
+
320
+ <li class="public ">
321
+ <span class="summary_signature">
322
+
323
+ <a href="#name%3D-class_method" title="name= (class method)">.<strong>name=</strong>(name) &#x21d2; Object </a>
324
+
325
+
326
+
327
+ </span>
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+
337
+ <span class="summary_desc"><div class='inline'></div></span>
338
+
339
+ </li>
340
+
341
+
342
+ <li class="public ">
343
+ <span class="summary_signature">
344
+
345
+ <a href="#processor_class-class_method" title="processor_class (class method)">.<strong>processor_class</strong> &#x21d2; Object </a>
346
+
347
+
348
+
349
+ </span>
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+ <span class="summary_desc"><div class='inline'></div></span>
360
+
361
+ </li>
362
+
363
+
364
+ <li class="public ">
365
+ <span class="summary_signature">
366
+
367
+ <a href="#processor_class%3D-class_method" title="processor_class= (class method)">.<strong>processor_class=</strong>(processor_class) &#x21d2; Object </a>
368
+
369
+
370
+
371
+ </span>
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+ <span class="summary_desc"><div class='inline'></div></span>
382
+
383
+ </li>
384
+
385
+
386
+ <li class="public ">
387
+ <span class="summary_signature">
388
+
389
+ <a href="#setting_class-class_method" title="setting_class (class method)">.<strong>setting_class</strong> &#x21d2; Object </a>
390
+
391
+
392
+
393
+ </span>
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+ <span class="summary_desc"><div class='inline'></div></span>
404
+
405
+ </li>
406
+
407
+
408
+ <li class="public ">
409
+ <span class="summary_signature">
410
+
411
+ <a href="#setting_class%3D-class_method" title="setting_class= (class method)">.<strong>setting_class=</strong>(setting_class) &#x21d2; Object </a>
412
+
413
+
414
+
415
+ </span>
416
+
417
+
418
+
419
+
420
+
421
+
422
+
423
+
424
+
425
+ <span class="summary_desc"><div class='inline'></div></span>
426
+
427
+ </li>
428
+
429
+
430
+ <li class="public ">
431
+ <span class="summary_signature">
432
+
433
+ <a href="#worker_module-class_method" title="worker_module (class method)">.<strong>worker_module</strong> &#x21d2; Object </a>
434
+
435
+
436
+
437
+ </span>
438
+
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+ <span class="summary_desc"><div class='inline'></div></span>
448
+
449
+ </li>
450
+
451
+
452
+ <li class="public ">
453
+ <span class="summary_signature">
454
+
455
+ <a href="#worker_module%3D-class_method" title="worker_module= (class method)">.<strong>worker_module=</strong>(worker_module) &#x21d2; Object </a>
456
+
457
+
458
+
459
+ </span>
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+ <span class="summary_desc"><div class='inline'></div></span>
470
+
471
+ </li>
472
+
473
+
474
+ </ul>
475
+
476
+
477
+
478
+
479
+ <div id="class_method_details" class="method_details_list">
480
+ <h2>Class Method Details</h2>
481
+
482
+
483
+ <div class="method_details first">
484
+ <h3 class="signature first" id="cli_class-class_method">
485
+
486
+ .<strong>cli_class</strong> &#x21d2; <tt>Object</tt>
487
+
488
+
489
+
490
+
491
+
492
+ </h3><table class="source_code">
493
+ <tr>
494
+ <td>
495
+ <pre class="lines">
496
+
497
+
498
+ 42
499
+ 43
500
+ 44</pre>
501
+ </td>
502
+ <td>
503
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 42</span>
504
+
505
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_cli_class'>cli_class</span>
506
+ <span class='ivar'>@cli_class</span> <span class='op'>||=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>CLI</span>
507
+ <span class='kw'>end</span></pre>
508
+ </td>
509
+ </tr>
510
+ </table>
511
+ </div>
512
+
513
+ <div class="method_details ">
514
+ <h3 class="signature " id="cli_class=-class_method">
515
+
516
+ .<strong>cli_class=</strong>(cli_class) &#x21d2; <tt>Object</tt>
517
+
518
+
519
+
520
+
521
+
522
+ </h3><table class="source_code">
523
+ <tr>
524
+ <td>
525
+ <pre class="lines">
526
+
527
+
528
+ 70
529
+ 71
530
+ 72</pre>
531
+ </td>
532
+ <td>
533
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 70</span>
534
+
535
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_cli_class='>cli_class=</span><span class='lparen'>(</span><span class='id identifier rubyid_cli_class'>cli_class</span><span class='rparen'>)</span>
536
+ <span class='ivar'>@cli_class</span> <span class='op'>=</span> <span class='id identifier rubyid_cli_class'>cli_class</span>
537
+ <span class='kw'>end</span></pre>
538
+ </td>
539
+ </tr>
540
+ </table>
541
+ </div>
542
+
543
+ <div class="method_details ">
544
+ <h3 class="signature " id="configure-class_method">
545
+
546
+ .<strong>configure</strong> {|Triglav::Agent::Configuration| ... } &#x21d2; <tt>Object</tt>
547
+
548
+
549
+
550
+
551
+
552
+ </h3><div class="docstring">
553
+ <div class="discussion">
554
+
555
+
556
+ </div>
557
+ </div>
558
+ <div class="tags">
559
+
560
+ <p class="tag_title">Yields:</p>
561
+ <ul class="yield">
562
+
563
+ <li>
564
+
565
+
566
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Triglav::Agent::Configuration (class)">Triglav::Agent::Configuration</a></span></tt>)</span>
567
+
568
+
569
+
570
+ </li>
571
+
572
+ </ul>
573
+
574
+ </div><table class="source_code">
575
+ <tr>
576
+ <td>
577
+ <pre class="lines">
578
+
579
+
580
+ 18
581
+ 19
582
+ 20</pre>
583
+ </td>
584
+ <td>
585
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 18</span>
586
+
587
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_configure'>configure</span><span class='lparen'>(</span><span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
588
+ <span class='kw'>yield</span><span class='lparen'>(</span><span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Configuration</span><span class='rparen'>)</span>
589
+ <span class='kw'>end</span></pre>
590
+ </td>
591
+ </tr>
592
+ </table>
593
+ </div>
594
+
595
+ <div class="method_details ">
596
+ <h3 class="signature " id="connection_class-class_method">
597
+
598
+ .<strong>connection_class</strong> &#x21d2; <tt>Object</tt>
599
+
600
+
601
+
602
+
603
+
604
+ </h3><table class="source_code">
605
+ <tr>
606
+ <td>
607
+ <pre class="lines">
608
+
609
+
610
+ 34
611
+ 35
612
+ 36</pre>
613
+ </td>
614
+ <td>
615
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 34</span>
616
+
617
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_connection_class'>connection_class</span>
618
+ <span class='ivar'>@connection_class</span> <span class='op'>||=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>Connection</span>
619
+ <span class='kw'>end</span></pre>
620
+ </td>
621
+ </tr>
622
+ </table>
623
+ </div>
624
+
625
+ <div class="method_details ">
626
+ <h3 class="signature " id="connection_class=-class_method">
627
+
628
+ .<strong>connection_class=</strong>(connection_class) &#x21d2; <tt>Object</tt>
629
+
630
+
631
+
632
+
633
+
634
+ </h3><table class="source_code">
635
+ <tr>
636
+ <td>
637
+ <pre class="lines">
638
+
639
+
640
+ 62
641
+ 63
642
+ 64</pre>
643
+ </td>
644
+ <td>
645
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 62</span>
646
+
647
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_connection_class='>connection_class=</span><span class='lparen'>(</span><span class='id identifier rubyid_connection_class'>connection_class</span><span class='rparen'>)</span>
648
+ <span class='ivar'>@connection_class</span> <span class='op'>=</span> <span class='id identifier rubyid_connection_class'>connection_class</span>
649
+ <span class='kw'>end</span></pre>
650
+ </td>
651
+ </tr>
652
+ </table>
653
+ </div>
654
+
655
+ <div class="method_details ">
656
+ <h3 class="signature " id="monitor_class-class_method">
657
+
658
+ .<strong>monitor_class</strong> &#x21d2; <tt>Object</tt>
659
+
660
+
661
+
662
+
663
+
664
+ </h3><table class="source_code">
665
+ <tr>
666
+ <td>
667
+ <pre class="lines">
668
+
669
+
670
+ 30
671
+ 31
672
+ 32</pre>
673
+ </td>
674
+ <td>
675
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 30</span>
676
+
677
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_monitor_class'>monitor_class</span>
678
+ <span class='ivar'>@monitor_class</span> <span class='op'>||=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>Monitor</span>
679
+ <span class='kw'>end</span></pre>
680
+ </td>
681
+ </tr>
682
+ </table>
683
+ </div>
684
+
685
+ <div class="method_details ">
686
+ <h3 class="signature " id="monitor_class=-class_method">
687
+
688
+ .<strong>monitor_class=</strong>(monitor_class) &#x21d2; <tt>Object</tt>
689
+
690
+
691
+
692
+
693
+
694
+ </h3><table class="source_code">
695
+ <tr>
696
+ <td>
697
+ <pre class="lines">
698
+
699
+
700
+ 58
701
+ 59
702
+ 60</pre>
703
+ </td>
704
+ <td>
705
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 58</span>
706
+
707
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_monitor_class='>monitor_class=</span><span class='lparen'>(</span><span class='id identifier rubyid_monitor_class'>monitor_class</span><span class='rparen'>)</span>
708
+ <span class='ivar'>@monitor_class</span> <span class='op'>=</span> <span class='id identifier rubyid_monitor_class'>monitor_class</span>
709
+ <span class='kw'>end</span></pre>
710
+ </td>
711
+ </tr>
712
+ </table>
713
+ </div>
714
+
715
+ <div class="method_details ">
716
+ <h3 class="signature " id="name-class_method">
717
+
718
+ .<strong>name</strong> &#x21d2; <tt>Object</tt>
719
+
720
+
721
+
722
+
723
+
724
+ </h3><table class="source_code">
725
+ <tr>
726
+ <td>
727
+ <pre class="lines">
728
+
729
+
730
+ 46
731
+ 47
732
+ 48</pre>
733
+ </td>
734
+ <td>
735
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 46</span>
736
+
737
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span>
738
+ <span class='ivar'>@name</span> <span class='op'>||=</span> <span class='symbol'>:agent</span>
739
+ <span class='kw'>end</span></pre>
740
+ </td>
741
+ </tr>
742
+ </table>
743
+ </div>
744
+
745
+ <div class="method_details ">
746
+ <h3 class="signature " id="name=-class_method">
747
+
748
+ .<strong>name=</strong>(name) &#x21d2; <tt>Object</tt>
749
+
750
+
751
+
752
+
753
+
754
+ </h3><table class="source_code">
755
+ <tr>
756
+ <td>
757
+ <pre class="lines">
758
+
759
+
760
+ 74
761
+ 75
762
+ 76</pre>
763
+ </td>
764
+ <td>
765
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 74</span>
766
+
767
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_name='>name=</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
768
+ <span class='ivar'>@name</span> <span class='op'>=</span> <span class='id identifier rubyid_name'>name</span>
769
+ <span class='kw'>end</span></pre>
770
+ </td>
771
+ </tr>
772
+ </table>
773
+ </div>
774
+
775
+ <div class="method_details ">
776
+ <h3 class="signature " id="processor_class-class_method">
777
+
778
+ .<strong>processor_class</strong> &#x21d2; <tt>Object</tt>
779
+
780
+
781
+
782
+
783
+
784
+ </h3><table class="source_code">
785
+ <tr>
786
+ <td>
787
+ <pre class="lines">
788
+
789
+
790
+ 26
791
+ 27
792
+ 28</pre>
793
+ </td>
794
+ <td>
795
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 26</span>
796
+
797
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_processor_class'>processor_class</span>
798
+ <span class='ivar'>@processor_class</span> <span class='op'>||=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>Processor</span>
799
+ <span class='kw'>end</span></pre>
800
+ </td>
801
+ </tr>
802
+ </table>
803
+ </div>
804
+
805
+ <div class="method_details ">
806
+ <h3 class="signature " id="processor_class=-class_method">
807
+
808
+ .<strong>processor_class=</strong>(processor_class) &#x21d2; <tt>Object</tt>
809
+
810
+
811
+
812
+
813
+
814
+ </h3><table class="source_code">
815
+ <tr>
816
+ <td>
817
+ <pre class="lines">
818
+
819
+
820
+ 54
821
+ 55
822
+ 56</pre>
823
+ </td>
824
+ <td>
825
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 54</span>
826
+
827
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_processor_class='>processor_class=</span><span class='lparen'>(</span><span class='id identifier rubyid_processor_class'>processor_class</span><span class='rparen'>)</span>
828
+ <span class='ivar'>@processor_class</span> <span class='op'>=</span> <span class='id identifier rubyid_processor_class'>processor_class</span>
829
+ <span class='kw'>end</span></pre>
830
+ </td>
831
+ </tr>
832
+ </table>
833
+ </div>
834
+
835
+ <div class="method_details ">
836
+ <h3 class="signature " id="setting_class-class_method">
837
+
838
+ .<strong>setting_class</strong> &#x21d2; <tt>Object</tt>
839
+
840
+
841
+
842
+
843
+
844
+ </h3><table class="source_code">
845
+ <tr>
846
+ <td>
847
+ <pre class="lines">
848
+
849
+
850
+ 38
851
+ 39
852
+ 40</pre>
853
+ </td>
854
+ <td>
855
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 38</span>
856
+
857
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setting_class'>setting_class</span>
858
+ <span class='ivar'>@setting_class</span> <span class='op'>||=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>Setting</span>
859
+ <span class='kw'>end</span></pre>
860
+ </td>
861
+ </tr>
862
+ </table>
863
+ </div>
864
+
865
+ <div class="method_details ">
866
+ <h3 class="signature " id="setting_class=-class_method">
867
+
868
+ .<strong>setting_class=</strong>(setting_class) &#x21d2; <tt>Object</tt>
869
+
870
+
871
+
872
+
873
+
874
+ </h3><table class="source_code">
875
+ <tr>
876
+ <td>
877
+ <pre class="lines">
878
+
879
+
880
+ 66
881
+ 67
882
+ 68</pre>
883
+ </td>
884
+ <td>
885
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 66</span>
886
+
887
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setting_class='>setting_class=</span><span class='lparen'>(</span><span class='id identifier rubyid_setting_class'>setting_class</span><span class='rparen'>)</span>
888
+ <span class='ivar'>@setting_class</span> <span class='op'>=</span> <span class='id identifier rubyid_setting_class'>setting_class</span>
889
+ <span class='kw'>end</span></pre>
890
+ </td>
891
+ </tr>
892
+ </table>
893
+ </div>
894
+
895
+ <div class="method_details ">
896
+ <h3 class="signature " id="worker_module-class_method">
897
+
898
+ .<strong>worker_module</strong> &#x21d2; <tt>Object</tt>
899
+
900
+
901
+
902
+
903
+
904
+ </h3><table class="source_code">
905
+ <tr>
906
+ <td>
907
+ <pre class="lines">
908
+
909
+
910
+ 22
911
+ 23
912
+ 24</pre>
913
+ </td>
914
+ <td>
915
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 22</span>
916
+
917
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_worker_module'>worker_module</span>
918
+ <span class='ivar'>@worker_module</span> <span class='op'>||=</span> <span class='const'>Triglav</span><span class='op'>::</span><span class='const'>Agent</span><span class='op'>::</span><span class='const'>Base</span><span class='op'>::</span><span class='const'>Worker</span>
919
+ <span class='kw'>end</span></pre>
920
+ </td>
921
+ </tr>
922
+ </table>
923
+ </div>
924
+
925
+ <div class="method_details ">
926
+ <h3 class="signature " id="worker_module=-class_method">
927
+
928
+ .<strong>worker_module=</strong>(worker_module) &#x21d2; <tt>Object</tt>
929
+
930
+
931
+
932
+
933
+
934
+ </h3><table class="source_code">
935
+ <tr>
936
+ <td>
937
+ <pre class="lines">
938
+
939
+
940
+ 50
941
+ 51
942
+ 52</pre>
943
+ </td>
944
+ <td>
945
+ <pre class="code"><span class="info file"># File 'lib/triglav/agent/configuration.rb', line 50</span>
946
+
947
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_worker_module='>worker_module=</span><span class='lparen'>(</span><span class='id identifier rubyid_worker_module'>worker_module</span><span class='rparen'>)</span>
948
+ <span class='ivar'>@worker_module</span> <span class='op'>=</span> <span class='id identifier rubyid_worker_module'>worker_module</span>
949
+ <span class='kw'>end</span></pre>
950
+ </td>
951
+ </tr>
952
+ </table>
953
+ </div>
954
+
955
+ </div>
956
+
957
+ </div>
958
+
959
+ <div id="footer">
960
+ Generated on Thu Feb 23 23:20:34 2017 by
961
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
962
+ 0.9.5 (ruby-2.3.2).
963
+ </div>
964
+
965
+ </div>
966
+ </body>
967
+ </html>