summaryrefslogtreecommitdiff
path: root/reference/kombu.connection.html
diff options
context:
space:
mode:
Diffstat (limited to 'reference/kombu.connection.html')
-rw-r--r--reference/kombu.connection.html32
1 files changed, 14 insertions, 18 deletions
diff --git a/reference/kombu.connection.html b/reference/kombu.connection.html
index e24a5df2..e1fd71be 100644
--- a/reference/kombu.connection.html
+++ b/reference/kombu.connection.html
@@ -7,7 +7,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>kombu.connection &mdash; Kombu 2.1.3 documentation</title>
+ <title>kombu.connection &mdash; Kombu 2.2.0rc2 documentation</title>
<link rel="stylesheet" href="../_static/celery.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
@@ -15,7 +15,7 @@
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
- VERSION: '2.1.3',
+ VERSION: '2.2.0rc2',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
@@ -24,7 +24,7 @@
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
- <link rel="top" title="Kombu 2.1.3 documentation" href="../index.html" />
+ <link rel="top" title="Kombu 2.2.0rc2 documentation" href="../index.html" />
<link rel="up" title="API Reference" href="index.html" />
<link rel="next" title="kombu.simple" href="kombu.simple.html" />
<link rel="prev" title="API Reference" href="index.html" />
@@ -45,7 +45,7 @@
<li class="right" >
<a href="index.html" title="API Reference"
accesskey="P">previous</a> |</li>
- <li><a href="../index.html">Kombu 2.1.3 documentation</a> &raquo;</li>
+ <li><a href="../index.html">Kombu 2.2.0rc2 documentation</a> &raquo;</li>
<li><a href="index.html" accesskey="U">API Reference</a> &raquo;</li>
</ul>
</div>
@@ -82,7 +82,7 @@
<h2><a class="toc-backref" href="#id1">Connection</a><a class="headerlink" href="#connection" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="kombu.connection.BrokerConnection">
-<em class="property">class </em><tt class="descclassname">kombu.connection.</tt><tt class="descname">BrokerConnection</tt><big>(</big><em>hostname='localhost'</em>, <em>userid=None</em>, <em>password=None</em>, <em>virtual_host=None</em>, <em>port=None</em>, <em>insist=False</em>, <em>ssl=False</em>, <em>transport=None</em>, <em>connect_timeout=5</em>, <em>transport_options=None</em>, <em>login_method=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#kombu.connection.BrokerConnection" title="Permalink to this definition">¶</a></dt>
+<em class="property">class </em><tt class="descclassname">kombu.connection.</tt><tt class="descname">BrokerConnection</tt><big>(</big><em>hostname='localhost'</em>, <em>userid=None</em>, <em>password=None</em>, <em>virtual_host=None</em>, <em>port=None</em>, <em>insist=False</em>, <em>ssl=False</em>, <em>transport=None</em>, <em>connect_timeout=5</em>, <em>transport_options=None</em>, <em>login_method=None</em>, <em>uri_prefix=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#kombu.connection.BrokerConnection" title="Permalink to this definition">¶</a></dt>
<dd><p>A connection to the broker.</p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
@@ -197,7 +197,7 @@ Raises <tt class="xref py py-exc docutils literal"><span class="pre">socket.time
<dl class="method">
<dt id="kombu.connection.BrokerConnection.ensure_connection">
-<tt class="descname">ensure_connection</tt><big>(</big><em>errback=None</em>, <em>max_retries=None</em>, <em>interval_start=2</em>, <em>interval_step=2</em>, <em>interval_max=30</em><big>)</big><a class="headerlink" href="#kombu.connection.BrokerConnection.ensure_connection" title="Permalink to this definition">¶</a></dt>
+<tt class="descname">ensure_connection</tt><big>(</big><em>errback=None</em>, <em>max_retries=None</em>, <em>interval_start=2</em>, <em>interval_step=2</em>, <em>interval_max=30</em>, <em>callback=None</em><big>)</big><a class="headerlink" href="#kombu.connection.BrokerConnection.ensure_connection" title="Permalink to this definition">¶</a></dt>
<dd><p>Ensure we have a connection to the server.</p>
<p>If not retry establishing the connection with the settings
specified.</p>
@@ -216,6 +216,10 @@ If this limit is exceeded the connection error will be re-raised.</li>
for each retry.</li>
<li><strong>interval_max</strong> &#8211; Maximum number of seconds to sleep between
each retry.</li>
+<li><strong>callback</strong> &#8211; Optional callback that is called for every
+internal iteration (1 s)</li>
+<li><strong>callback</strong> &#8211; Optional callback that is called for every
+internal iteration (1 s).</li>
</ul>
</td>
</tr>
@@ -438,11 +442,7 @@ and the limit has been exceeded.</p>
<dl class="method">
<dt id="kombu.connection.ConnectionPool.release">
<tt class="descname">release</tt><big>(</big><em>resource</em><big>)</big><a class="headerlink" href="#kombu.connection.ConnectionPool.release" title="Permalink to this definition">¶</a></dt>
-<dd><p>Release resource so it can be used by another thread.</p>
-<p>The caller is responsible for discarding the object,
-and to never use the resource again. A new resource must
-be acquired if so needed.</p>
-</dd></dl>
+<dd></dd></dl>
</dd></dl>
@@ -482,11 +482,7 @@ and the limit has been exceeded.</p>
<dl class="method">
<dt id="kombu.connection.ChannelPool.release">
<tt class="descname">release</tt><big>(</big><em>resource</em><big>)</big><a class="headerlink" href="#kombu.connection.ChannelPool.release" title="Permalink to this definition">¶</a></dt>
-<dd><p>Release resource so it can be used by another thread.</p>
-<p>The caller is responsible for discarding the object,
-and to never use the resource again. A new resource must
-be acquired if so needed.</p>
-</dd></dl>
+<dd></dd></dl>
</dd></dl>
@@ -553,13 +549,13 @@ be acquired if so needed.</p>
<li class="right" >
<a href="index.html" title="API Reference"
>previous</a> |</li>
- <li><a href="../index.html">Kombu 2.1.3 documentation</a> &raquo;</li>
+ <li><a href="../index.html">Kombu 2.2.0rc2 documentation</a> &raquo;</li>
<li><a href="index.html" >API Reference</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2009-2012, Ask Solem.
- Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.2.
+ Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
</div>
</body>
</html> \ No newline at end of file