mhenrixon/sidekiq-unique-jobs

View on GitHub
doc/SidekiqUniqueJobs/BatchDelete.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: SidekiqUniqueJobs::BatchDelete
Unexpected trailing spaces found.
&mdash; Documentation by YARD 0.9.26
Unexpected trailing spaces found.
</title>
 
<link rel="stylesheet" href="../css/style.css" type="text/css" />
 
<link rel="stylesheet" href="../css/common.css" type="text/css" />
 
<script type="text/javascript">
pathId = "SidekiqUniqueJobs::BatchDelete";
relpath = '../';
</script>
 
 
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
 
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
 
 
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
 
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
Unexpected trailing spaces found.
<a href="../_index.html">Index (B)</a> &raquo;
<span class='title'><span class='object_link'><a href="../SidekiqUniqueJobs.html" title="SidekiqUniqueJobs (module)">SidekiqUniqueJobs</a></span></span>
Unexpected trailing spaces found.
Expected an indentation at 6 instead of at 5.
&raquo;
<span class="title">BatchDelete</span>
Unexpected trailing spaces found.
</div>
 
<div id="search">
Unexpected trailing spaces found.
<a class="full_list_link" id="class_list_link"
href="../class_list.html">
 
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
Unexpected trailing spaces found.
</div>
<div class="clear"></div>
</div>
 
<div id="content"><h1>Class: SidekiqUniqueJobs::BatchDelete
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
</h1>
<div class="box_info">
Unexpected trailing spaces found.
<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName">Object</span>
Unexpected trailing spaces found.
<ul class="fullTree">
<li>Object</li>
Unexpected trailing spaces found.
<li class="next">SidekiqUniqueJobs::BatchDelete</li>
Unexpected trailing spaces found.
</ul>
<a href="#" class="inheritanceTree">show all</a>
Unexpected trailing spaces found.
</dd>
</dl>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<dl>
<dt>Includes:</dt>
<dd><span class='object_link'><a href="Connection.html" title="SidekiqUniqueJobs::Connection (module)">Connection</a></span>, <span class='object_link'><a href="Logging.html" title="SidekiqUniqueJobs::Logging (module)">Logging</a></span></dd>
</dl>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<dl>
<dt>Defined in:</dt>
<dd>lib/sidekiq_unique_jobs/batch_delete.rb</dd>
</dl>
Unexpected trailing spaces found.
</div>
 
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>Class BatchDelete provides batch deletion of digests</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Author:</p>
<ul class="author">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<div class='inline'><p>Mikael Henriksson <a href="mailto:mikael@mhenrixon.com">mikael@mhenrixon.com</a></p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
Unexpected trailing spaces found.
<h2>
Constant Summary
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
</h2>
 
<dl class="constants">
Unexpected trailing spaces found.
<dt id="BATCH_SIZE-constant" class="">BATCH_SIZE =
<div class="docstring">
<div class="discussion">
<p>Returns the default batch size.</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Returns:</p>
<ul class="return">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>Integer</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the default batch size</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</dt>
<dd><pre class="code"><span class='int'>100</span></pre></dd>
Unexpected trailing spaces found.
<dt id="SUFFIXES-constant" class="">SUFFIXES =
<div class="docstring">
<div class="discussion">
<p>Returns Supported key suffixes.</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Returns:</p>
<ul class="return">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;String&gt;</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>Supported key suffixes</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</dt>
<dd><pre class="code"><span class='qwords_beg'>%w[</span><span class='words_sep'>
</span><span class='tstring_content'>QUEUED</span><span class='words_sep'>
</span><span class='tstring_content'>PRIMED</span><span class='words_sep'>
</span><span class='tstring_content'>LOCKED</span><span class='words_sep'>
</span><span class='tstring_content'>INFO</span><span class='words_sep'>
</span><span class='tstring_end'>]</span></span><span class='period'>.</span><span class='id identifier rubyid_freeze'>freeze</span></pre></dd>
Unexpected trailing spaces found.
</dl>
Unexpected trailing spaces found.
 
 
 
 
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
<ul class="summary">
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#conn-instance_method" title="#conn (instance method)">#<strong>conn</strong> &#x21d2; Object </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class="note title readonly">readonly</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute conn.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#digests-instance_method" title="#digests (instance method)">#<strong>digests</strong> &#x21d2; Object </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class="note title readonly">readonly</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Returns the value of attribute digests.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
</ul>
 
 
 
 
Unexpected trailing spaces found.
<h2>
Class Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
 
<ul class="summary">
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#call-class_method" title="call (class method)">.<strong>call</strong>(digests, conn = nil) &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Executes a batch deletion of the provided digests.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
</ul>
Unexpected trailing spaces found.
<h2>
Instance Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
 
<ul class="summary">
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#build_message-instance_method" title="#build_message (instance method)">#<strong>build_message</strong>(message_or_exception, item = nil) &#x21d2; String </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#build_message-instance_method" title="SidekiqUniqueJobs::Logging#build_message (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Build a log message.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#call-instance_method" title="#call (instance method)">#<strong>call</strong> &#x21d2; Object </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Executes a batch deletion of the provided digests.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(digests, conn) &#x21d2; BatchDelete </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class="note title constructor">constructor</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Initialize a new batch delete instance.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#log_debug-instance_method" title="#log_debug (instance method)">#<strong>log_debug</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#log_debug-instance_method" title="SidekiqUniqueJobs::Logging#log_debug (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Logs a message at debug level.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#log_error-instance_method" title="#log_error (instance method)">#<strong>log_error</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#log_error-instance_method" title="SidekiqUniqueJobs::Logging#log_error (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Logs a message at error level.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#log_fatal-instance_method" title="#log_fatal (instance method)">#<strong>log_fatal</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#log_fatal-instance_method" title="SidekiqUniqueJobs::Logging#log_fatal (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Logs a message at fatal level.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#log_info-instance_method" title="#log_info (instance method)">#<strong>log_info</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#log_info-instance_method" title="SidekiqUniqueJobs::Logging#log_info (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Logs a message at info level.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#log_warn-instance_method" title="#log_warn (instance method)">#<strong>log_warn</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#log_warn-instance_method" title="SidekiqUniqueJobs::Logging#log_warn (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Logs a message at warn level.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#logger-instance_method" title="#logger (instance method)">#<strong>logger</strong> &#x21d2; Logger </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#logger-instance_method" title="SidekiqUniqueJobs::Logging#logger (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>A convenience method for using the configured gem logger.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#logging_context-instance_method" title="#logging_context (instance method)">#<strong>logging_context</strong> &#x21d2; Hash </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#logging_context-instance_method" title="SidekiqUniqueJobs::Logging#logging_context (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Setup some variables to add to each log line.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#redis-instance_method" title="#redis (instance method)">#<strong>redis</strong>(r_pool = nil, &amp;block) &#x21d2; Sidekiq::RedisConnection, ConnectionPool </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Connection.html#redis-instance_method" title="SidekiqUniqueJobs::Connection#redis (method)">Connection</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Creates a connection to redis.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#with_configured_loggers_context-instance_method" title="#with_configured_loggers_context (instance method)">#<strong>with_configured_loggers_context</strong> { ... } &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#with_configured_loggers_context-instance_method" title="SidekiqUniqueJobs::Logging#with_configured_loggers_context (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Attempt to setup context aware logging for the given logger.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
<li class="public ">
<span class="summary_signature">
Unexpected trailing spaces found.
<a href="#with_logging_context-instance_method" title="#with_logging_context (instance method)">#<strong>with_logging_context</strong> &#x21d2; void </a>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</span>
Unexpected trailing spaces found.
<span class="note title not_defined_here">
included
from <span class='object_link'><a href="Logging.html#with_logging_context-instance_method" title="SidekiqUniqueJobs::Logging#with_logging_context (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="summary_desc"><div class='inline'><p>Wraps the middleware logic with context aware logging.</p>
</div></span>
Unexpected trailing spaces found.
</li>
 
Unexpected trailing spaces found.
</ul>
Unexpected trailing spaces found.
 
 
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
Unexpected trailing spaces found.
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>initialize</strong>(digests, conn) &#x21d2; <tt><span class='object_link'><a href="" title="SidekiqUniqueJobs::BatchDelete (class)">BatchDelete</a></span></tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>Initialize a new batch delete instance</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>digests</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;String&gt;</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the digests to delete</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>conn</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="Redis.html" title="SidekiqUniqueJobs::Redis (module)">Redis</a></span></tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the connection to use for deletion</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
 
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
 
 
57
58
59
60
61
62
63
64</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/sidekiq_unique_jobs/batch_delete.rb', line 57</span>
 
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_digests'>digests</span><span class='comma'>,</span> <span class='id identifier rubyid_conn'>conn</span><span class='rparen'>)</span>
<span class='ivar'>@count</span> <span class='op'>=</span> <span class='int'>0</span>
<span class='ivar'>@digests</span> <span class='op'>=</span> <span class='id identifier rubyid_digests'>digests</span>
<span class='ivar'>@conn</span> <span class='op'>=</span> <span class='id identifier rubyid_conn'>conn</span>
<span class='ivar'>@digests</span> <span class='op'>||=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
<span class='ivar'>@digests</span><span class='period'>.</span><span class='id identifier rubyid_compact!'>compact!</span>
<span class='id identifier rubyid_redis_version'>redis_version</span> <span class='comment'># Avoid pipelined calling redis_version and getting a future.
</span><span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
Unexpected trailing spaces found.
</div>
 
<div id="instance_attr_details" class="attr_details">
<h2>Instance Attribute Details</h2>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span id=""></span>
<div class="method_details first">
<h3 class="signature first" id="conn-instance_method">
Unexpected trailing spaces found.
#<strong>conn</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>Returns the value of attribute conn.</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
 
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
 
 
37
38
39</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/sidekiq_unique_jobs/batch_delete.rb', line 37</span>
 
<span class='kw'>def</span> <span class='id identifier rubyid_conn'>conn</span>
<span class='ivar'>@conn</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="digests-instance_method">
Unexpected trailing spaces found.
#<strong>digests</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>Returns the value of attribute digests.</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
 
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
 
 
33
34
35</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/sidekiq_unique_jobs/batch_delete.rb', line 33</span>
 
<span class='kw'>def</span> <span class='id identifier rubyid_digests'>digests</span>
<span class='ivar'>@digests</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
Unexpected trailing spaces found.
</div>
 
 
<div id="class_method_details" class="method_details_list">
<h2>Class Method Details</h2>
 
Unexpected trailing spaces found.
<div class="method_details first">
<h3 class="signature first" id="call-class_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
.<strong>call</strong>(digests, conn = nil) &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Executes a batch deletion of the provided digests</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>digests</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;String&gt;</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the digests to delete</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>conn</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="Redis.html" title="SidekiqUniqueJobs::Redis (module)">Redis</a></span></tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the connection to use for deletion</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
 
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
 
 
47
48
49</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/sidekiq_unique_jobs/batch_delete.rb', line 47</span>
 
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span><span class='lparen'>(</span><span class='id identifier rubyid_digests'>digests</span><span class='comma'>,</span> <span class='id identifier rubyid_conn'>conn</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
<span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_digests'>digests</span><span class='comma'>,</span> <span class='id identifier rubyid_conn'>conn</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
Unexpected trailing spaces found.
</div>
 
<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>
 
Unexpected trailing spaces found.
<div class="method_details first">
<h3 class="signature first" id="build_message-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>build_message</strong>(message_or_exception, item = nil) &#x21d2; <tt>String</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#build_message-instance_method" title="SidekiqUniqueJobs::Logging#build_message (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>Build a log message</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>message_or_exception</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>an entry to log</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>item</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the sidekiq job hash</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">Returns:</p>
<ul class="return">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>a complete log entry</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="call-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>call</strong> &#x21d2; <tt>Object</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
Unexpected trailing spaces found.
<div class="note notetag">
<strong>Note:</strong>
<div class='inline'><p>Just wraps batch_delete to be able to provide no connection</p>
</div>
</div>
 
<p>Executes a batch deletion of the provided digests</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
 
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
 
 
71
72
73
74
75
76
77
78</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/sidekiq_unique_jobs/batch_delete.rb', line 71</span>
 
<span class='kw'>def</span> <span class='id identifier rubyid_call'>call</span>
<span class='kw'>return</span> <span class='id identifier rubyid_log_info'>log_info</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Nothing to delete; exiting.</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_digests'>digests</span><span class='period'>.</span><span class='id identifier rubyid_none?'>none?</span>
 
<span class='id identifier rubyid_log_info'>log_info</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Deleting batch with </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_digests'>digests</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'> digests</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
<span class='kw'>return</span> <span class='id identifier rubyid_batch_delete'>batch_delete</span><span class='lparen'>(</span><span class='id identifier rubyid_conn'>conn</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='id identifier rubyid_conn'>conn</span>
 
<span class='id identifier rubyid_redis'>redis</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_rcon'>rcon</span><span class='op'>|</span> <span class='id identifier rubyid_batch_delete'>batch_delete</span><span class='lparen'>(</span><span class='id identifier rubyid_rcon'>rcon</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="log_debug-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>log_debug</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#log_debug-instance_method" title="SidekiqUniqueJobs::Logging#log_debug (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Logs a message at debug level</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>message_or_exception</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to log</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">Yields:</p>
<ul class="yield">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to use for log message</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="log_error-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>log_error</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#log_error-instance_method" title="SidekiqUniqueJobs::Logging#log_error (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Logs a message at error level</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>message_or_exception</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to log</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">Yields:</p>
<ul class="yield">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to use for log message</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="log_fatal-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>log_fatal</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#log_fatal-instance_method" title="SidekiqUniqueJobs::Logging#log_fatal (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Logs a message at fatal level</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>message_or_exception</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to log</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">Yields:</p>
<ul class="yield">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to use for log message</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="log_info-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>log_info</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#log_info-instance_method" title="SidekiqUniqueJobs::Logging#log_info (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Logs a message at info level</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>message_or_exception</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to log</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">Yields:</p>
<ul class="yield">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to use for log message</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="log_warn-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>log_warn</strong>(message_or_exception = nil, item = nil) {|String, Exception| ... } &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#log_warn-instance_method" title="SidekiqUniqueJobs::Logging#log_warn (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Logs a message at warn level</p>
 
 
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
<span class='name'>message_or_exception</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<em class="default">(defaults to: <tt>nil</tt>)</em>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to log</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">Yields:</p>
<ul class="yield">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>String</tt>, <tt>Exception</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the message or exception to use for log message</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="logger-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>logger</strong> &#x21d2; <tt>Logger</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#logger-instance_method" title="SidekiqUniqueJobs::Logging#logger (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>A convenience method for using the configured gem logger</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Returns:</p>
<ul class="return">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>Logger</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
<p class="tag_title">See Also:</p>
<ul class="see">
Unexpected trailing spaces found.
<li>SidekiqUniqueJobs#.logger</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="logging_context-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>logging_context</strong> &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#logging_context-instance_method" title="SidekiqUniqueJobs::Logging#logging_context (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>Setup some variables to add to each log line</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Returns:</p>
<ul class="return">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>the context to use for each log line</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
<p class="tag_title">Raises:</p>
<ul class="raise">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>NotImplementedError</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="redis-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>redis</strong>(r_pool = nil, &amp;block) &#x21d2; <tt>Sidekiq::RedisConnection</tt>, <tt>ConnectionPool</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Connection.html#redis-instance_method" title="SidekiqUniqueJobs::Connection#redis (method)">Connection</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p>Creates a connection to redis</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Returns:</p>
<ul class="return">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>Sidekiq::RedisConnection</tt>, <tt>ConnectionPool</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>a connection to redis</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="with_configured_loggers_context-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>with_configured_loggers_context</strong> { ... } &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#with_configured_loggers_context-instance_method" title="SidekiqUniqueJobs::Logging#with_configured_loggers_context (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Attempt to setup context aware logging for the given logger</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Yields:</p>
<ul class="yield">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'></span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
<div class="method_details ">
<h3 class="signature " id="with_logging_context-instance_method">
Unexpected trailing spaces found.
Unexpected trailing spaces found.
#<strong>with_logging_context</strong> &#x21d2; <tt>void</tt>
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
 
Unexpected trailing spaces found.
<span class="not_defined_here">
Originally defined in module
<span class='object_link'><a href="Logging.html#with_logging_context-instance_method" title="SidekiqUniqueJobs::Logging#with_logging_context (method)">Logging</a></span>
</span>
Unexpected trailing spaces found.
</h3><div class="docstring">
<div class="discussion">
<p class="note returns_void">This method returns an undefined value.</p><p>Wraps the middleware logic with context aware logging</p>
 
 
</div>
</div>
<div class="tags">
Unexpected trailing spaces found.
<p class="tag_title">Yield Returns:</p>
<ul class="yieldreturn">
Unexpected trailing spaces found.
<li>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
<span class='type'>(<tt>void</tt>)</span>
Unexpected trailing spaces found.
Unexpected trailing spaces found.
Unexpected trailing spaces found.
&mdash;
<div class='inline'><p>yield to the middleware instance</p>
</div>
Unexpected trailing spaces found.
</li>
Unexpected trailing spaces found.
</ul>
 
</div>
</div>
Unexpected trailing spaces found.
</div>
 
</div>
 
<div id="footer">
Generated on Mon Sep 27 15:29:08 2021 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.26 (ruby-3.0.2).
</div>
 
</div>
</body>
Expected a newline at the end of the file.
</html>