celery.backends.tyrant.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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.3.12 (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.3.12 (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.3.12 (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.3.12 (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.get_result">
  67. <tt class="descname">get_result</tt><big>(</big><em>task_id</em><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend.get_result" title="Permalink to this definition">¶</a></dt>
  68. <dd>Get the result of a task.</dd></dl>
  69. <dl class="method">
  70. <dt id="celery.backends.tyrant.Backend.get_status">
  71. <tt class="descname">get_status</tt><big>(</big><em>task_id</em><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend.get_status" title="Permalink to this definition">¶</a></dt>
  72. <dd>Get the status for a task.</dd></dl>
  73. <dl class="method">
  74. <dt id="celery.backends.tyrant.Backend.is_done">
  75. <tt class="descname">is_done</tt><big>(</big><em>task_id</em><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend.is_done" title="Permalink to this definition">¶</a></dt>
  76. <dd>Returns <tt class="xref docutils literal"><span class="pre">True</span></tt> if the task executed successfully.</dd></dl>
  77. <dl class="method">
  78. <dt id="celery.backends.tyrant.Backend.open">
  79. <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>
  80. <dd>Get <tt class="xref docutils literal"><span class="pre">pytyrant.PyTyrant`</span></tt> instance with the current
  81. server configuration.</dd></dl>
  82. <dl class="method">
  83. <dt id="celery.backends.tyrant.Backend.store_result">
  84. <tt class="descname">store_result</tt><big>(</big><em>task_id</em>, <em>result</em>, <em>status</em><big>)</big><a class="headerlink" href="#celery.backends.tyrant.Backend.store_result" title="Permalink to this definition">¶</a></dt>
  85. <dd>Store task result and status.</dd></dl>
  86. </dd></dl>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. <div class="sphinxsidebar">
  92. <div class="sphinxsidebarwrapper">
  93. <h4>Previous topic</h4>
  94. <p class="topless"><a href="celery.backends.cache.html"
  95. title="previous chapter">Backend: Cache - celery.backends.cache</a></p>
  96. <h4>Next topic</h4>
  97. <p class="topless"><a href="celery.conf.html"
  98. title="next chapter">Configuration - celery.conf</a></p>
  99. <h3>This Page</h3>
  100. <ul class="this-page-menu">
  101. <li><a href="../sources/reference/celery.backends.tyrant.txt"
  102. rel="nofollow">Show Source</a></li>
  103. </ul>
  104. <div id="searchbox" style="display: none">
  105. <h3>Quick search</h3>
  106. <form class="search" action="../search.html" method="get">
  107. <input type="text" name="q" size="18" />
  108. <input type="submit" value="Go" />
  109. <input type="hidden" name="check_keywords" value="yes" />
  110. <input type="hidden" name="area" value="default" />
  111. </form>
  112. <p class="searchtip" style="font-size: 90%">
  113. Enter search terms or a module, class or function name.
  114. </p>
  115. </div>
  116. <script type="text/javascript">$('#searchbox').show(0);</script>
  117. </div>
  118. </div>
  119. <div class="clearer"></div>
  120. </div>
  121. <div class="related">
  122. <h3>Navigation</h3>
  123. <ul>
  124. <li class="right" style="margin-right: 10px">
  125. <a href="../genindex.html" title="General Index"
  126. >index</a></li>
  127. <li class="right" >
  128. <a href="../modindex.html" title="Global Module Index"
  129. >modules</a> |</li>
  130. <li class="right" >
  131. <a href="celery.conf.html" title="Configuration - celery.conf"
  132. >next</a> |</li>
  133. <li class="right" >
  134. <a href="celery.backends.cache.html" title="Backend: Cache - celery.backends.cache"
  135. >previous</a> |</li>
  136. <li><a href="../index.html">Celery v0.3.12 (unstable) documentation</a> &raquo;</li>
  137. <li><a href="index.html" >Module API Reference</a> &raquo;</li>
  138. </ul>
  139. </div>
  140. <div class="footer">
  141. &copy; Copyright 2009, Ask Solem.
  142. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
  143. </div>
  144. </body>
  145. </html>