celery.backends.tyrant.html 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Backend: Tokyo Tyrant - celery.backends.tyrant &mdash; Celery v0.7.0 (unstable) documentation</title>
  7. <link rel="stylesheet" href="../static/nature.css" type="text/css" />
  8. <link rel="stylesheet" href="../static/pygments.css" type="text/css" />
  9. <script type="text/javascript">
  10. var DOCUMENTATION_OPTIONS = {
  11. URL_ROOT: '../',
  12. VERSION: '0.7.0 (unstable)',
  13. COLLAPSE_MODINDEX: false,
  14. FILE_SUFFIX: '.html',
  15. HAS_SOURCE: true
  16. };
  17. </script>
  18. <script type="text/javascript" src="../static/jquery.js"></script>
  19. <script type="text/javascript" src="../static/doctools.js"></script>
  20. <link rel="top" title="Celery v0.7.0 (unstable) documentation" href="../index.html" />
  21. <link rel="up" title="Module API Reference" href="index.html" />
  22. <link rel="next" title="Configuration - celery.conf" href="celery.conf.html" />
  23. <link rel="prev" title="Backend: Cache - celery.backends.cache" href="celery.backends.cache.html" />
  24. </head>
  25. <body>
  26. <div class="related">
  27. <h3>Navigation</h3>
  28. <ul>
  29. <li class="right" style="margin-right: 10px">
  30. <a href="../genindex.html" title="General Index"
  31. accesskey="I">index</a></li>
  32. <li class="right" >
  33. <a href="../modindex.html" title="Global Module Index"
  34. accesskey="M">modules</a> |</li>
  35. <li class="right" >
  36. <a href="celery.conf.html" title="Configuration - celery.conf"
  37. accesskey="N">next</a> |</li>
  38. <li class="right" >
  39. <a href="celery.backends.cache.html" title="Backend: Cache - celery.backends.cache"
  40. accesskey="P">previous</a> |</li>
  41. <li><a href="../index.html">Celery v0.7.0 (unstable) documentation</a> &raquo;</li>
  42. <li><a href="index.html" accesskey="U">Module API Reference</a> &raquo;</li>
  43. </ul>
  44. </div>
  45. <div class="document">
  46. <div class="documentwrapper">
  47. <div class="bodywrapper">
  48. <div class="body">
  49. <div class="section" id="module-celery.backends.tyrant">
  50. <h1>Backend: Tokyo Tyrant - celery.backends.tyrant<a class="headerlink" href="#module-celery.backends.tyrant" title="Permalink to this headline">¶</a></h1>
  51. <p>celery.backends.tyrant</p>
  52. <dl class="class">
  53. <dt id="celery.backends.tyrant.Backend">
  54. <em class="property">
  55. class </em><tt class="descclassname">celery.backends.tyrant.</tt><tt class="descname">Backend</tt><big>(</big><em>tyrant_host=None</em>, <em>tyrant_port=None</em><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend" title="Permalink to this definition">¶</a></dt>
  56. <dd><p>Tokyo Cabinet based task backend store.</p>
  57. <dl class="attribute">
  58. <dt id="celery.backends.tyrant.Backend.tyrant_host">
  59. <tt class="descname">tyrant_host</tt><a class="headerlink" href="#celery.backends.tyrant.Backend.tyrant_host" title="Permalink to this definition">¶</a></dt>
  60. <dd>The hostname to the Tokyo Tyrant server.</dd></dl>
  61. <dl class="attribute">
  62. <dt id="celery.backends.tyrant.Backend.tyrant_port">
  63. <tt class="descname">tyrant_port</tt><a class="headerlink" href="#celery.backends.tyrant.Backend.tyrant_port" title="Permalink to this definition">¶</a></dt>
  64. <dd>The port to the Tokyo Tyrant server.</dd></dl>
  65. <dl class="method">
  66. <dt id="celery.backends.tyrant.Backend.close">
  67. <tt class="descname">close</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend.close" title="Permalink to this definition">¶</a></dt>
  68. <dd>Close the tyrant connection and remove the cache.</dd></dl>
  69. <dl class="method">
  70. <dt id="celery.backends.tyrant.Backend.open">
  71. <tt class="descname">open</tt><big>(</big><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend.open" title="Permalink to this definition">¶</a></dt>
  72. <dd><p>Get <tt class="xref docutils literal"><span class="pre">pytyrant.PyTyrant`</span></tt> instance with the current
  73. server configuration.</p>
  74. <p>The connection is then cached until you do an
  75. explicit <a title="celery.backends.tyrant.Backend.close" class="reference internal" href="#celery.backends.tyrant.Backend.close"><tt class="xref docutils literal"><span class="pre">close()</span></tt></a>.</p>
  76. </dd></dl>
  77. </dd></dl>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. <div class="sphinxsidebar">
  83. <div class="sphinxsidebarwrapper">
  84. <h4>Previous topic</h4>
  85. <p class="topless"><a href="celery.backends.cache.html"
  86. title="previous chapter">Backend: Cache - celery.backends.cache</a></p>
  87. <h4>Next topic</h4>
  88. <p class="topless"><a href="celery.conf.html"
  89. title="next chapter">Configuration - celery.conf</a></p>
  90. <h3>This Page</h3>
  91. <ul class="this-page-menu">
  92. <li><a href="../sources/reference/celery.backends.tyrant.txt"
  93. rel="nofollow">Show Source</a></li>
  94. </ul>
  95. <div id="searchbox" style="display: none">
  96. <h3>Quick search</h3>
  97. <form class="search" action="../search.html" method="get">
  98. <input type="text" name="q" size="18" />
  99. <input type="submit" value="Go" />
  100. <input type="hidden" name="check_keywords" value="yes" />
  101. <input type="hidden" name="area" value="default" />
  102. </form>
  103. <p class="searchtip" style="font-size: 90%">
  104. Enter search terms or a module, class or function name.
  105. </p>
  106. </div>
  107. <script type="text/javascript">$('#searchbox').show(0);</script>
  108. </div>
  109. </div>
  110. <div class="clearer"></div>
  111. </div>
  112. <div class="related">
  113. <h3>Navigation</h3>
  114. <ul>
  115. <li class="right" style="margin-right: 10px">
  116. <a href="../genindex.html" title="General Index"
  117. >index</a></li>
  118. <li class="right" >
  119. <a href="../modindex.html" title="Global Module Index"
  120. >modules</a> |</li>
  121. <li class="right" >
  122. <a href="celery.conf.html" title="Configuration - celery.conf"
  123. >next</a> |</li>
  124. <li class="right" >
  125. <a href="celery.backends.cache.html" title="Backend: Cache - celery.backends.cache"
  126. >previous</a> |</li>
  127. <li><a href="../index.html">Celery v0.7.0 (unstable) documentation</a> &raquo;</li>
  128. <li><a href="index.html" >Module API Reference</a> &raquo;</li>
  129. </ul>
  130. </div>
  131. <div class="footer">
  132. &copy; Copyright 2009, Ask Solem.
  133. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.2.
  134. </div>
  135. </body>
  136. </html>