triglav-agent 1.0.0.rc1 → 1.0.0.rc2
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.
- checksums.yaml +4 -4
- data/docs/Triglav.html +1 -1
- data/docs/Triglav/Agent.html +4 -4
- data/docs/Triglav/Agent/ApiClient.html +1 -1
- data/docs/Triglav/Agent/ApiClient/AuthenticationError.html +1 -1
- data/docs/Triglav/Agent/ApiClient/ConnectionError.html +1 -1
- data/docs/Triglav/Agent/ApiClient/Error.html +1 -1
- data/docs/Triglav/Agent/Base.html +1 -1
- data/docs/Triglav/Agent/Base/CLI.html +1 -1
- data/docs/Triglav/Agent/Base/Connection.html +1 -1
- data/docs/Triglav/Agent/Base/Monitor.html +1 -1
- data/docs/Triglav/Agent/Base/Processor.html +20 -20
- data/docs/Triglav/Agent/Base/Setting.html +1 -1
- data/docs/Triglav/Agent/Base/Worker.html +36 -32
- data/docs/Triglav/Agent/Configuration.html +1 -1
- data/docs/Triglav/Agent/Error.html +1 -1
- data/docs/Triglav/Agent/HashUtil.html +1 -1
- data/docs/Triglav/Agent/LogFormatter.html +1 -1
- data/docs/Triglav/Agent/Logger.html +1 -1
- data/docs/Triglav/Agent/Status.html +850 -0
- data/docs/Triglav/Agent/StorageFile.html +155 -28
- data/docs/Triglav/Agent/Timer.html +1 -1
- data/docs/Triglav/Agent/TooManyError.html +1 -1
- data/docs/_index.html +8 -1
- data/docs/class_list.html +1 -1
- data/docs/file.LICENSE.html +1 -1
- data/docs/file.README.html +2 -2
- data/docs/index.html +2 -2
- data/docs/method_list.html +140 -52
- data/docs/top-level-namespace.html +1 -1
- data/lib/triglav/agent/status.rb +13 -0
- data/lib/triglav/agent/storage_file.rb +18 -0
- data/lib/triglav/agent/version.rb +1 -1
- metadata +3 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b80bb3219aa63a9e72507189e9c5354394ffb6fa
         | 
| 4 | 
            +
              data.tar.gz: 815f8cd9a55c675f448648f26d1bd9e06b898eaf
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 2c3965d7e21a98124b0ec203359e32980681c7a0a2930a65dffc97bbc1078df294cb64d336350d50aec9f77a71976608c77d4dcdaa20e3003d30bd4d52f612b5
         | 
| 7 | 
            +
              data.tar.gz: 7591dd7914e016ffe9c772a39ffeed86f210128d07fc6731943177c5750511c5f85ae4f5afd3eaa068a1359635e5c31e59c73b2bd99fc4d1e2e731cd32080bb5
         | 
    
        data/docs/Triglav.html
    CHANGED
    
    | @@ -109,7 +109,7 @@ | |
| 109 109 | 
             
            </div>
         | 
| 110 110 |  | 
| 111 111 | 
             
                  <div id="footer">
         | 
| 112 | 
            -
              Generated on  | 
| 112 | 
            +
              Generated on Tue Mar 14 19:09:26 2017 by
         | 
| 113 113 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 114 114 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 115 115 | 
             
            </div>
         | 
    
        data/docs/Triglav/Agent.html
    CHANGED
    
    | @@ -81,7 +81,7 @@ | |
| 81 81 | 
             
              <dl>
         | 
| 82 82 | 
             
                <dt>Defined in:</dt>
         | 
| 83 83 | 
             
                <dd>lib/triglav/agent.rb<span class="defines">,<br />
         | 
| 84 | 
            -
              lib/triglav/agent/error.rb,<br /> lib/triglav/agent/timer.rb,<br /> lib/triglav/agent/logger.rb,<br /> lib/triglav/agent/version.rb,<br /> lib/triglav/agent/base/cli.rb,<br /> lib/triglav/agent/hash_util.rb,<br /> lib/triglav/agent/api_client.rb,<br /> lib/triglav/agent/base/worker.rb,<br /> lib/triglav/agent/base/monitor.rb,<br /> lib/triglav/agent/base/setting.rb,<br /> lib/triglav/agent/storage_file.rb,<br /> lib/triglav/agent/configuration.rb,<br /> lib/triglav/agent/base/processor.rb,<br /> lib/triglav/agent/base/connection.rb</span>
         | 
| 84 | 
            +
              lib/triglav/agent/error.rb,<br /> lib/triglav/agent/timer.rb,<br /> lib/triglav/agent/status.rb,<br /> lib/triglav/agent/logger.rb,<br /> lib/triglav/agent/version.rb,<br /> lib/triglav/agent/base/cli.rb,<br /> lib/triglav/agent/hash_util.rb,<br /> lib/triglav/agent/api_client.rb,<br /> lib/triglav/agent/base/worker.rb,<br /> lib/triglav/agent/base/monitor.rb,<br /> lib/triglav/agent/base/setting.rb,<br /> lib/triglav/agent/storage_file.rb,<br /> lib/triglav/agent/configuration.rb,<br /> lib/triglav/agent/base/processor.rb,<br /> lib/triglav/agent/base/connection.rb</span>
         | 
| 85 85 | 
             
            </dd>
         | 
| 86 86 | 
             
              </dl>
         | 
| 87 87 |  | 
| @@ -95,7 +95,7 @@ | |
| 95 95 |  | 
| 96 96 |  | 
| 97 97 |  | 
| 98 | 
            -
                  <strong class="classes">Classes:</strong> <span class='object_link'><a href="Agent/ApiClient.html" title="Triglav::Agent::ApiClient (class)">ApiClient</a></span>, <span class='object_link'><a href="Agent/Configuration.html" title="Triglav::Agent::Configuration (class)">Configuration</a></span>, <span class='object_link'><a href="Agent/Error.html" title="Triglav::Agent::Error (class)">Error</a></span>, <span class='object_link'><a href="Agent/HashUtil.html" title="Triglav::Agent::HashUtil (class)">HashUtil</a></span>, <span class='object_link'><a href="Agent/LogFormatter.html" title="Triglav::Agent::LogFormatter (class)">LogFormatter</a></span>, <span class='object_link'><a href="Agent/Logger.html" title="Triglav::Agent::Logger (class)">Logger</a></span>, <span class='object_link'><a href="Agent/StorageFile.html" title="Triglav::Agent::StorageFile (class)">StorageFile</a></span>, <span class='object_link'><a href="Agent/Timer.html" title="Triglav::Agent::Timer (class)">Timer</a></span>, <span class='object_link'><a href="Agent/TooManyError.html" title="Triglav::Agent::TooManyError (class)">TooManyError</a></span>
         | 
| 98 | 
            +
                  <strong class="classes">Classes:</strong> <span class='object_link'><a href="Agent/ApiClient.html" title="Triglav::Agent::ApiClient (class)">ApiClient</a></span>, <span class='object_link'><a href="Agent/Configuration.html" title="Triglav::Agent::Configuration (class)">Configuration</a></span>, <span class='object_link'><a href="Agent/Error.html" title="Triglav::Agent::Error (class)">Error</a></span>, <span class='object_link'><a href="Agent/HashUtil.html" title="Triglav::Agent::HashUtil (class)">HashUtil</a></span>, <span class='object_link'><a href="Agent/LogFormatter.html" title="Triglav::Agent::LogFormatter (class)">LogFormatter</a></span>, <span class='object_link'><a href="Agent/Logger.html" title="Triglav::Agent::Logger (class)">Logger</a></span>, <span class='object_link'><a href="Agent/Status.html" title="Triglav::Agent::Status (class)">Status</a></span>, <span class='object_link'><a href="Agent/StorageFile.html" title="Triglav::Agent::StorageFile (class)">StorageFile</a></span>, <span class='object_link'><a href="Agent/Timer.html" title="Triglav::Agent::Timer (class)">Timer</a></span>, <span class='object_link'><a href="Agent/TooManyError.html" title="Triglav::Agent::TooManyError (class)">TooManyError</a></span>
         | 
| 99 99 |  | 
| 100 100 |  | 
| 101 101 | 
             
            </p>
         | 
| @@ -106,7 +106,7 @@ | |
| 106 106 | 
             
                  <dt id="VERSION-constant" class="">VERSION =
         | 
| 107 107 |  | 
| 108 108 | 
             
                  </dt>
         | 
| 109 | 
            -
                  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.0.0. | 
| 109 | 
            +
                  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>1.0.0.rc1</span><span class='tstring_end'>"</span></span></pre></dd>
         | 
| 110 110 |  | 
| 111 111 | 
             
              </dl>
         | 
| 112 112 |  | 
| @@ -121,7 +121,7 @@ | |
| 121 121 | 
             
            </div>
         | 
| 122 122 |  | 
| 123 123 | 
             
                  <div id="footer">
         | 
| 124 | 
            -
              Generated on  | 
| 124 | 
            +
              Generated on Tue Mar 14 19:09:26 2017 by
         | 
| 125 125 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 126 126 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 127 127 | 
             
            </div>
         | 
| @@ -597,7 +597,7 @@ $setting.token_file.</p> | |
| 597 597 | 
             
            </div>
         | 
| 598 598 |  | 
| 599 599 | 
             
                  <div id="footer">
         | 
| 600 | 
            -
              Generated on  | 
| 600 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 601 601 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 602 602 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 603 603 | 
             
            </div>
         | 
| @@ -140,7 +140,7 @@ | |
| 140 140 | 
             
            </div>
         | 
| 141 141 |  | 
| 142 142 | 
             
                  <div id="footer">
         | 
| 143 | 
            -
              Generated on  | 
| 143 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 144 144 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 145 145 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 146 146 | 
             
            </div>
         | 
| @@ -140,7 +140,7 @@ | |
| 140 140 | 
             
            </div>
         | 
| 141 141 |  | 
| 142 142 | 
             
                  <div id="footer">
         | 
| 143 | 
            -
              Generated on  | 
| 143 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 144 144 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 145 145 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 146 146 | 
             
            </div>
         | 
| @@ -286,7 +286,7 @@ | |
| 286 286 | 
             
            </div>
         | 
| 287 287 |  | 
| 288 288 | 
             
                  <div id="footer">
         | 
| 289 | 
            -
              Generated on  | 
| 289 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 290 290 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 291 291 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 292 292 | 
             
            </div>
         | 
| @@ -111,7 +111,7 @@ | |
| 111 111 | 
             
            </div>
         | 
| 112 112 |  | 
| 113 113 | 
             
                  <div id="footer">
         | 
| 114 | 
            -
              Generated on  | 
| 114 | 
            +
              Generated on Tue Mar 14 19:09:26 2017 by
         | 
| 115 115 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 116 116 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 117 117 | 
             
            </div>
         | 
| @@ -490,7 +490,7 @@ implement your original, configure</p> | |
| 490 490 | 
             
            </div>
         | 
| 491 491 |  | 
| 492 492 | 
             
                  <div id="footer">
         | 
| 493 | 
            -
              Generated on  | 
| 493 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 494 494 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 495 495 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 496 496 | 
             
            </div>
         | 
| @@ -334,7 +334,7 @@ parallel threads are created in Processor class.</p> | |
| 334 334 | 
             
            </div>
         | 
| 335 335 |  | 
| 336 336 | 
             
                  <div id="footer">
         | 
| 337 | 
            -
              Generated on  | 
| 337 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 338 338 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 339 339 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 340 340 | 
             
            </div>
         | 
| @@ -360,7 +360,7 @@ parallel thread basically, and `#process` is ran concurrently.</p> | |
| 360 360 | 
             
            </div>
         | 
| 361 361 |  | 
| 362 362 | 
             
                  <div id="footer">
         | 
| 363 | 
            -
              Generated on  | 
| 363 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 364 364 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 365 365 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 366 366 | 
             
            </div>
         | 
| @@ -331,13 +331,13 @@ implement your original, configure</p> | |
| 331 331 | 
             
                  <pre class="lines">
         | 
| 332 332 |  | 
| 333 333 |  | 
| 334 | 
            -
            17
         | 
| 335 334 | 
             
            18
         | 
| 336 335 | 
             
            19
         | 
| 337 | 
            -
            20 | 
| 336 | 
            +
            20
         | 
| 337 | 
            +
            21</pre>
         | 
| 338 338 | 
             
                </td>
         | 
| 339 339 | 
             
                <td>
         | 
| 340 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line  | 
| 340 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 18</span>
         | 
| 341 341 |  | 
| 342 342 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_worker'>worker</span><span class='comma'>,</span> <span class='id identifier rubyid_resource_uri_prefix'>resource_uri_prefix</span><span class='rparen'>)</span>
         | 
| 343 343 | 
             
              <span class='ivar'>@worker</span> <span class='op'>=</span> <span class='id identifier rubyid_worker'>worker</span>
         | 
| @@ -381,12 +381,12 @@ implement your original, configure</p> | |
| 381 381 | 
             
                  <pre class="lines">
         | 
| 382 382 |  | 
| 383 383 |  | 
| 384 | 
            -
            15
         | 
| 385 384 | 
             
            16
         | 
| 386 | 
            -
            17 | 
| 385 | 
            +
            17
         | 
| 386 | 
            +
            18</pre>
         | 
| 387 387 | 
             
                </td>
         | 
| 388 388 | 
             
                <td>
         | 
| 389 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line  | 
| 389 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 16</span>
         | 
| 390 390 |  | 
| 391 391 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_resource_uri_prefix'>resource_uri_prefix</span>
         | 
| 392 392 | 
             
              <span class='ivar'>@resource_uri_prefix</span>
         | 
| @@ -424,12 +424,12 @@ implement your original, configure</p> | |
| 424 424 | 
             
                  <pre class="lines">
         | 
| 425 425 |  | 
| 426 426 |  | 
| 427 | 
            -
            15
         | 
| 428 427 | 
             
            16
         | 
| 429 | 
            -
            17 | 
| 428 | 
            +
            17
         | 
| 429 | 
            +
            18</pre>
         | 
| 430 430 | 
             
                </td>
         | 
| 431 431 | 
             
                <td>
         | 
| 432 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line  | 
| 432 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 16</span>
         | 
| 433 433 |  | 
| 434 434 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_worker'>worker</span>
         | 
| 435 435 | 
             
              <span class='ivar'>@worker</span>
         | 
| @@ -461,12 +461,12 @@ implement your original, configure</p> | |
| 461 461 | 
             
                  <pre class="lines">
         | 
| 462 462 |  | 
| 463 463 |  | 
| 464 | 
            -
            22
         | 
| 465 464 | 
             
            23
         | 
| 466 | 
            -
            24 | 
| 465 | 
            +
            24
         | 
| 466 | 
            +
            25</pre>
         | 
| 467 467 | 
             
                </td>
         | 
| 468 468 | 
             
                <td>
         | 
| 469 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line  | 
| 469 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 23</span>
         | 
| 470 470 |  | 
| 471 471 | 
             
            <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_max_consecuitive_error_count'>max_consecuitive_error_count</span>
         | 
| 472 472 | 
             
              <span class='int'>3</span>
         | 
| @@ -497,7 +497,6 @@ implement your original, configure</p> | |
| 497 497 | 
             
                  <pre class="lines">
         | 
| 498 498 |  | 
| 499 499 |  | 
| 500 | 
            -
            26
         | 
| 501 500 | 
             
            27
         | 
| 502 501 | 
             
            28
         | 
| 503 502 | 
             
            29
         | 
| @@ -528,10 +527,11 @@ implement your original, configure</p> | |
| 528 527 | 
             
            54
         | 
| 529 528 | 
             
            55
         | 
| 530 529 | 
             
            56
         | 
| 531 | 
            -
            57 | 
| 530 | 
            +
            57
         | 
| 531 | 
            +
            58</pre>
         | 
| 532 532 | 
             
                </td>
         | 
| 533 533 | 
             
                <td>
         | 
| 534 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line  | 
| 534 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 27</span>
         | 
| 535 535 |  | 
| 536 536 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span>
         | 
| 537 537 | 
             
              <span class='id identifier rubyid_before_process'>before_process</span>
         | 
| @@ -542,7 +542,7 @@ implement your original, configure</p> | |
| 542 542 | 
             
                <span class='id identifier rubyid_events'>events</span> <span class='op'>=</span> <span class='kw'>nil</span>
         | 
| 543 543 | 
             
                <span class='kw'>begin</span>
         | 
| 544 544 | 
             
                  <span class='ivar'>@connection_pool</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_connection'>connection</span><span class='op'>|</span>
         | 
| 545 | 
            -
                    <span class='id identifier rubyid_monitor'>monitor</span> <span class='op'>=</span> <span class='id identifier rubyid_monitor_class'>monitor_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_connection'>connection</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
         | 
| 545 | 
            +
                    <span class='id identifier rubyid_monitor'>monitor</span> <span class='op'>=</span> <span class='id identifier rubyid_monitor_class'>monitor_class</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_connection'>connection</span><span class='comma'>,</span> <span class='id identifier rubyid_resource_uri_prefix'>resource_uri_prefix</span><span class='comma'>,</span> <span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
         | 
| 546 546 | 
             
                    <span class='id identifier rubyid_monitor'>monitor</span><span class='period'>.</span><span class='id identifier rubyid_process'>process</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid__events'>_events</span><span class='op'>|</span>
         | 
| 547 547 | 
             
                      <span class='id identifier rubyid_events'>events</span> <span class='op'>=</span> <span class='id identifier rubyid__events'>_events</span>
         | 
| 548 548 | 
             
                      <span class='gvar'>$logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>send_messages:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_events'>events</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lparen'>(</span><span class='op'>&</span><span class='symbol'>:to_hash</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_to_json'>to_json</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span>
         | 
| @@ -585,12 +585,12 @@ implement your original, configure</p> | |
| 585 585 | 
             
                  <pre class="lines">
         | 
| 586 586 |  | 
| 587 587 |  | 
| 588 | 
            -
            59
         | 
| 589 588 | 
             
            60
         | 
| 590 | 
            -
            61 | 
| 589 | 
            +
            61
         | 
| 590 | 
            +
            62</pre>
         | 
| 591 591 | 
             
                </td>
         | 
| 592 592 | 
             
                <td>
         | 
| 593 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line  | 
| 593 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/processor.rb', line 60</span>
         | 
| 594 594 |  | 
| 595 595 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_total_count'>total_count</span>
         | 
| 596 596 | 
             
              <span class='id identifier rubyid_resources'>resources</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span>
         | 
| @@ -605,7 +605,7 @@ implement your original, configure</p> | |
| 605 605 | 
             
            </div>
         | 
| 606 606 |  | 
| 607 607 | 
             
                  <div id="footer">
         | 
| 608 | 
            -
              Generated on  | 
| 608 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 609 609 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 610 610 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 611 611 | 
             
            </div>
         | 
| @@ -1073,7 +1073,7 @@ implement your original, configure</p> | |
| 1073 1073 | 
             
            </div>
         | 
| 1074 1074 |  | 
| 1075 1075 | 
             
                  <div id="footer">
         | 
| 1076 | 
            -
              Generated on  | 
| 1076 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 1077 1077 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 1078 1078 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 1079 1079 | 
             
            </div>
         | 
| @@ -314,15 +314,17 @@ implement your original, configure</p> | |
| 314 314 | 
             
                  <pre class="lines">
         | 
| 315 315 |  | 
| 316 316 |  | 
| 317 | 
            -
            13
         | 
| 318 317 | 
             
            14
         | 
| 319 | 
            -
            15 | 
| 318 | 
            +
            15
         | 
| 319 | 
            +
            16
         | 
| 320 | 
            +
            17</pre>
         | 
| 320 321 | 
             
                </td>
         | 
| 321 322 | 
             
                <td>
         | 
| 322 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 323 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 14</span>
         | 
| 323 324 |  | 
| 324 325 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
         | 
| 325 326 | 
             
              <span class='ivar'>@timer</span> <span class='op'>=</span> <span class='const'>Timer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
         | 
| 327 | 
            +
              <span class='id identifier rubyid_reload_status'>reload_status</span>
         | 
| 326 328 | 
             
            <span class='kw'>end</span></pre>
         | 
| 327 329 | 
             
                </td>
         | 
| 328 330 | 
             
              </tr>
         | 
| @@ -344,9 +346,6 @@ implement your original, configure</p> | |
| 344 346 | 
             
                  <pre class="lines">
         | 
| 345 347 |  | 
| 346 348 |  | 
| 347 | 
            -
            36
         | 
| 348 | 
            -
            37
         | 
| 349 | 
            -
            38
         | 
| 350 349 | 
             
            39
         | 
| 351 350 | 
             
            40
         | 
| 352 351 | 
             
            41
         | 
| @@ -362,10 +361,13 @@ implement your original, configure</p> | |
| 362 361 | 
             
            51
         | 
| 363 362 | 
             
            52
         | 
| 364 363 | 
             
            53
         | 
| 365 | 
            -
            54 | 
| 364 | 
            +
            54
         | 
| 365 | 
            +
            55
         | 
| 366 | 
            +
            56
         | 
| 367 | 
            +
            57</pre>
         | 
| 366 368 | 
             
                </td>
         | 
| 367 369 | 
             
                <td>
         | 
| 368 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 370 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 39</span>
         | 
| 369 371 |  | 
| 370 372 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_process'>process</span>
         | 
| 371 373 | 
             
              <span class='id identifier rubyid_started'>started</span> <span class='op'>=</span> <span class='const'>Time</span><span class='period'>.</span><span class='id identifier rubyid_now'>now</span>
         | 
| @@ -417,17 +419,19 @@ implement your original, configure</p> | |
| 417 419 | 
             
                  <pre class="lines">
         | 
| 418 420 |  | 
| 419 421 |  | 
| 420 | 
            -
            18
         | 
| 421 | 
            -
            19
         | 
| 422 422 | 
             
            20
         | 
| 423 | 
            -
            21 | 
| 423 | 
            +
            21
         | 
| 424 | 
            +
            22
         | 
| 425 | 
            +
            23
         | 
| 426 | 
            +
            24</pre>
         | 
| 424 427 | 
             
                </td>
         | 
| 425 428 | 
             
                <td>
         | 
| 426 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 429 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 20</span>
         | 
| 427 430 |  | 
| 428 431 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_reload'>reload</span>
         | 
| 429 432 | 
             
              <span class='gvar'>$logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Worker#reload worker_id:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_worker_id'>worker_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span>
         | 
| 430 433 | 
             
              <span class='gvar'>$setting</span><span class='period'>.</span><span class='id identifier rubyid_reload'>reload</span>
         | 
| 434 | 
            +
              <span class='id identifier rubyid_reload_status'>reload_status</span>
         | 
| 431 435 | 
             
            <span class='kw'>end</span></pre>
         | 
| 432 436 | 
             
                </td>
         | 
| 433 437 | 
             
              </tr>
         | 
| @@ -460,9 +464,6 @@ implement your original, configure</p> | |
| 460 464 | 
             
                  <pre class="lines">
         | 
| 461 465 |  | 
| 462 466 |  | 
| 463 | 
            -
            24
         | 
| 464 | 
            -
            25
         | 
| 465 | 
            -
            26
         | 
| 466 467 | 
             
            27
         | 
| 467 468 | 
             
            28
         | 
| 468 469 | 
             
            29
         | 
| @@ -470,10 +471,13 @@ implement your original, configure</p> | |
| 470 471 | 
             
            31
         | 
| 471 472 | 
             
            32
         | 
| 472 473 | 
             
            33
         | 
| 473 | 
            -
            34 | 
| 474 | 
            +
            34
         | 
| 475 | 
            +
            35
         | 
| 476 | 
            +
            36
         | 
| 477 | 
            +
            37</pre>
         | 
| 474 478 | 
             
                </td>
         | 
| 475 479 | 
             
                <td>
         | 
| 476 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 480 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 27</span>
         | 
| 477 481 |  | 
| 478 482 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_run'>run</span>
         | 
| 479 483 | 
             
              <span class='gvar'>$logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Worker#run worker_id:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_worker_id'>worker_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span>
         | 
| @@ -506,13 +510,13 @@ implement your original, configure</p> | |
| 506 510 | 
             
                  <pre class="lines">
         | 
| 507 511 |  | 
| 508 512 |  | 
| 509 | 
            -
             | 
| 510 | 
            -
             | 
| 511 | 
            -
             | 
| 512 | 
            -
             | 
| 513 | 
            +
            59
         | 
| 514 | 
            +
            60
         | 
| 515 | 
            +
            61
         | 
| 516 | 
            +
            62</pre>
         | 
| 513 517 | 
             
                </td>
         | 
| 514 518 | 
             
                <td>
         | 
| 515 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 519 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 59</span>
         | 
| 516 520 |  | 
| 517 521 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_start'>start</span>
         | 
| 518 522 | 
             
              <span class='ivar'>@timer</span><span class='period'>.</span><span class='id identifier rubyid_start'>start</span>
         | 
| @@ -549,14 +553,14 @@ implement your original, configure</p> | |
| 549 553 | 
             
                  <pre class="lines">
         | 
| 550 554 |  | 
| 551 555 |  | 
| 552 | 
            -
            62
         | 
| 553 | 
            -
            63
         | 
| 554 | 
            -
            64
         | 
| 555 556 | 
             
            65
         | 
| 556 | 
            -
            66 | 
| 557 | 
            +
            66
         | 
| 558 | 
            +
            67
         | 
| 559 | 
            +
            68
         | 
| 560 | 
            +
            69</pre>
         | 
| 557 561 | 
             
                </td>
         | 
| 558 562 | 
             
                <td>
         | 
| 559 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 563 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 65</span>
         | 
| 560 564 |  | 
| 561 565 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_stop'>stop</span>
         | 
| 562 566 | 
             
              <span class='gvar'>$logger</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span> <span class='lbrace'>{</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Worker#stop worker_id:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_worker_id'>worker_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span>
         | 
| @@ -605,12 +609,12 @@ implement your original, configure</p> | |
| 605 609 | 
             
                  <pre class="lines">
         | 
| 606 610 |  | 
| 607 611 |  | 
| 608 | 
            -
             | 
| 609 | 
            -
             | 
| 610 | 
            -
             | 
| 612 | 
            +
            71
         | 
| 613 | 
            +
            72
         | 
| 614 | 
            +
            73</pre>
         | 
| 611 615 | 
             
                </td>
         | 
| 612 616 | 
             
                <td>
         | 
| 613 | 
            -
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line  | 
| 617 | 
            +
                  <pre class="code"><span class="info file"># File 'lib/triglav/agent/base/worker.rb', line 71</span>
         | 
| 614 618 |  | 
| 615 619 | 
             
            <span class='kw'>def</span> <span class='id identifier rubyid_stopped?'>stopped?</span>
         | 
| 616 620 | 
             
              <span class='ivar'>@stop</span>
         | 
| @@ -625,7 +629,7 @@ implement your original, configure</p> | |
| 625 629 | 
             
            </div>
         | 
| 626 630 |  | 
| 627 631 | 
             
                  <div id="footer">
         | 
| 628 | 
            -
              Generated on  | 
| 632 | 
            +
              Generated on Tue Mar 14 19:09:26 2017 by
         | 
| 629 633 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 630 634 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 631 635 | 
             
            </div>
         | 
| @@ -957,7 +957,7 @@ | |
| 957 957 | 
             
            </div>
         | 
| 958 958 |  | 
| 959 959 | 
             
                  <div id="footer">
         | 
| 960 | 
            -
              Generated on  | 
| 960 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 961 961 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 962 962 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 963 963 | 
             
            </div>
         | 
| @@ -120,7 +120,7 @@ | |
| 120 120 | 
             
            </div>
         | 
| 121 121 |  | 
| 122 122 | 
             
                  <div id="footer">
         | 
| 123 | 
            -
              Generated on  | 
| 123 | 
            +
              Generated on Tue Mar 14 19:09:26 2017 by
         | 
| 124 124 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 125 125 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 126 126 | 
             
            </div>
         | 
| @@ -341,7 +341,7 @@ href="'a'">hash</a>['b'] = 'bar'</p> | |
| 341 341 | 
             
            </div>
         | 
| 342 342 |  | 
| 343 343 | 
             
                  <div id="footer">
         | 
| 344 | 
            -
              Generated on  | 
| 344 | 
            +
              Generated on Tue Mar 14 19:09:27 2017 by
         | 
| 345 345 | 
             
              <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
         | 
| 346 346 | 
             
              0.9.5 (ruby-2.3.2).
         | 
| 347 347 | 
             
            </div>
         |