|
1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_cache.handler package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-cache-handler-package"> |
|
54 <h1>pyams_cache.handler package<a class="headerlink" href="#pyams-cache-handler-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="module-pyams_cache.handler"> |
|
56 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_cache.handler" title="Permalink to this headline">¶</a></h2> |
|
57 </div> |
|
58 <div class="section" id="submodules"> |
|
59 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
60 <div class="section" id="module-pyams_cache.handler.memcached"> |
|
61 <span id="pyams-cache-handler-memcached-module"></span><h3>pyams_cache.handler.memcached module<a class="headerlink" href="#module-pyams_cache.handler.memcached" title="Permalink to this headline">¶</a></h3> |
|
62 <dl class="class"> |
|
63 <dt id="pyams_cache.handler.memcached.MemcachedAioCacheHandler"> |
|
64 <em class="property">class </em><code class="descclassname">pyams_cache.handler.memcached.</code><code class="descname">MemcachedAioCacheHandler</code><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedAioCacheHandler" title="Permalink to this definition">¶</a></dt> |
|
65 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
66 <p>Memcached asyncio cache handler utility</p> |
|
67 <dl class="attribute"> |
|
68 <dt id="pyams_cache.handler.memcached.MemcachedAioCacheHandler.client"> |
|
69 <code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedAioCacheHandler.client" title="Permalink to this definition">¶</a></dt> |
|
70 <dd></dd></dl> |
|
71 |
|
72 <dl class="method"> |
|
73 <dt id="pyams_cache.handler.memcached.MemcachedAioCacheHandler.get"> |
|
74 <code class="descname">get</code><span class="sig-paren">(</span><em>key</em>, <em>default=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedAioCacheHandler.get" title="Permalink to this definition">¶</a></dt> |
|
75 <dd></dd></dl> |
|
76 |
|
77 <dl class="method"> |
|
78 <dt id="pyams_cache.handler.memcached.MemcachedAioCacheHandler.open"> |
|
79 <code class="descname">open</code><span class="sig-paren">(</span><em>server</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedAioCacheHandler.open" title="Permalink to this definition">¶</a></dt> |
|
80 <dd></dd></dl> |
|
81 |
|
82 <dl class="method"> |
|
83 <dt id="pyams_cache.handler.memcached.MemcachedAioCacheHandler.set"> |
|
84 <code class="descname">set</code><span class="sig-paren">(</span><em>key</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedAioCacheHandler.set" title="Permalink to this definition">¶</a></dt> |
|
85 <dd></dd></dl> |
|
86 |
|
87 </dd></dl> |
|
88 |
|
89 <dl class="class"> |
|
90 <dt id="pyams_cache.handler.memcached.MemcachedCacheHandler"> |
|
91 <em class="property">class </em><code class="descclassname">pyams_cache.handler.memcached.</code><code class="descname">MemcachedCacheHandler</code><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedCacheHandler" title="Permalink to this definition">¶</a></dt> |
|
92 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
93 <p>Memcached cache handler utility</p> |
|
94 <dl class="attribute"> |
|
95 <dt id="pyams_cache.handler.memcached.MemcachedCacheHandler.client"> |
|
96 <code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedCacheHandler.client" title="Permalink to this definition">¶</a></dt> |
|
97 <dd></dd></dl> |
|
98 |
|
99 <dl class="method"> |
|
100 <dt id="pyams_cache.handler.memcached.MemcachedCacheHandler.get"> |
|
101 <code class="descname">get</code><span class="sig-paren">(</span><em>key</em>, <em>default=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedCacheHandler.get" title="Permalink to this definition">¶</a></dt> |
|
102 <dd></dd></dl> |
|
103 |
|
104 <dl class="method"> |
|
105 <dt id="pyams_cache.handler.memcached.MemcachedCacheHandler.open"> |
|
106 <code class="descname">open</code><span class="sig-paren">(</span><em>server</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedCacheHandler.open" title="Permalink to this definition">¶</a></dt> |
|
107 <dd></dd></dl> |
|
108 |
|
109 <dl class="method"> |
|
110 <dt id="pyams_cache.handler.memcached.MemcachedCacheHandler.set"> |
|
111 <code class="descname">set</code><span class="sig-paren">(</span><em>key</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.memcached.MemcachedCacheHandler.set" title="Permalink to this definition">¶</a></dt> |
|
112 <dd></dd></dl> |
|
113 |
|
114 </dd></dl> |
|
115 |
|
116 </div> |
|
117 <div class="section" id="module-pyams_cache.handler.redis"> |
|
118 <span id="pyams-cache-handler-redis-module"></span><h3>pyams_cache.handler.redis module<a class="headerlink" href="#module-pyams_cache.handler.redis" title="Permalink to this headline">¶</a></h3> |
|
119 <dl class="class"> |
|
120 <dt id="pyams_cache.handler.redis.RedisAioCacheHandler"> |
|
121 <em class="property">class </em><code class="descclassname">pyams_cache.handler.redis.</code><code class="descname">RedisAioCacheHandler</code><a class="headerlink" href="#pyams_cache.handler.redis.RedisAioCacheHandler" title="Permalink to this definition">¶</a></dt> |
|
122 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
123 <p>Redis asyncio cache handler utility</p> |
|
124 <dl class="attribute"> |
|
125 <dt id="pyams_cache.handler.redis.RedisAioCacheHandler.connection"> |
|
126 <code class="descname">connection</code><em class="property"> = None</em><a class="headerlink" href="#pyams_cache.handler.redis.RedisAioCacheHandler.connection" title="Permalink to this definition">¶</a></dt> |
|
127 <dd></dd></dl> |
|
128 |
|
129 <dl class="method"> |
|
130 <dt id="pyams_cache.handler.redis.RedisAioCacheHandler.get"> |
|
131 <code class="descname">get</code><span class="sig-paren">(</span><em>key</em>, <em>default=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.redis.RedisAioCacheHandler.get" title="Permalink to this definition">¶</a></dt> |
|
132 <dd></dd></dl> |
|
133 |
|
134 <dl class="method"> |
|
135 <dt id="pyams_cache.handler.redis.RedisAioCacheHandler.open"> |
|
136 <code class="descname">open</code><span class="sig-paren">(</span><em>server</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.redis.RedisAioCacheHandler.open" title="Permalink to this definition">¶</a></dt> |
|
137 <dd></dd></dl> |
|
138 |
|
139 <dl class="method"> |
|
140 <dt id="pyams_cache.handler.redis.RedisAioCacheHandler.set"> |
|
141 <code class="descname">set</code><span class="sig-paren">(</span><em>key</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.redis.RedisAioCacheHandler.set" title="Permalink to this definition">¶</a></dt> |
|
142 <dd></dd></dl> |
|
143 |
|
144 </dd></dl> |
|
145 |
|
146 <dl class="class"> |
|
147 <dt id="pyams_cache.handler.redis.RedisCacheHandler"> |
|
148 <em class="property">class </em><code class="descclassname">pyams_cache.handler.redis.</code><code class="descname">RedisCacheHandler</code><a class="headerlink" href="#pyams_cache.handler.redis.RedisCacheHandler" title="Permalink to this definition">¶</a></dt> |
|
149 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
150 <p>Redis cache handler utility</p> |
|
151 <dl class="attribute"> |
|
152 <dt id="pyams_cache.handler.redis.RedisCacheHandler.client"> |
|
153 <code class="descname">client</code><em class="property"> = None</em><a class="headerlink" href="#pyams_cache.handler.redis.RedisCacheHandler.client" title="Permalink to this definition">¶</a></dt> |
|
154 <dd></dd></dl> |
|
155 |
|
156 <dl class="method"> |
|
157 <dt id="pyams_cache.handler.redis.RedisCacheHandler.get"> |
|
158 <code class="descname">get</code><span class="sig-paren">(</span><em>key</em>, <em>default=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.redis.RedisCacheHandler.get" title="Permalink to this definition">¶</a></dt> |
|
159 <dd></dd></dl> |
|
160 |
|
161 <dl class="method"> |
|
162 <dt id="pyams_cache.handler.redis.RedisCacheHandler.open"> |
|
163 <code class="descname">open</code><span class="sig-paren">(</span><em>server</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.redis.RedisCacheHandler.open" title="Permalink to this definition">¶</a></dt> |
|
164 <dd></dd></dl> |
|
165 |
|
166 <dl class="method"> |
|
167 <dt id="pyams_cache.handler.redis.RedisCacheHandler.set"> |
|
168 <code class="descname">set</code><span class="sig-paren">(</span><em>key</em>, <em>value</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_cache.handler.redis.RedisCacheHandler.set" title="Permalink to this definition">¶</a></dt> |
|
169 <dd></dd></dl> |
|
170 |
|
171 </dd></dl> |
|
172 |
|
173 </div> |
|
174 </div> |
|
175 </div> |
|
176 |
|
177 |
|
178 </div> |
|
179 </div> |
|
180 </div> |
|
181 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
182 <div class="sphinxsidebarwrapper"> |
|
183 <h3><a href="index.html">Table Of Contents</a></h3> |
|
184 <ul> |
|
185 <li><a class="reference internal" href="#">pyams_cache.handler package</a><ul> |
|
186 <li><a class="reference internal" href="#module-pyams_cache.handler">Module contents</a></li> |
|
187 <li><a class="reference internal" href="#submodules">Submodules</a><ul> |
|
188 <li><a class="reference internal" href="#module-pyams_cache.handler.memcached">pyams_cache.handler.memcached module</a></li> |
|
189 <li><a class="reference internal" href="#module-pyams_cache.handler.redis">pyams_cache.handler.redis module</a></li> |
|
190 </ul> |
|
191 </li> |
|
192 </ul> |
|
193 </li> |
|
194 </ul> |
|
195 |
|
196 <div id="searchbox" style="display: none" role="search"> |
|
197 <h3>Quick search</h3> |
|
198 <form class="search" action="search.html" method="get"> |
|
199 <div><input type="text" name="q" /></div> |
|
200 <div><input type="submit" value="Go" /></div> |
|
201 <input type="hidden" name="check_keywords" value="yes" /> |
|
202 <input type="hidden" name="area" value="default" /> |
|
203 </form> |
|
204 </div> |
|
205 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
206 </div> |
|
207 </div> |
|
208 <div class="clearer"></div> |
|
209 </div> |
|
210 <div class="related" role="navigation" aria-label="related navigation"> |
|
211 <h3>Navigation</h3> |
|
212 <ul> |
|
213 <li class="right" style="margin-right: 10px"> |
|
214 <a href="genindex.html" title="General Index" |
|
215 >index</a></li> |
|
216 <li class="right" > |
|
217 <a href="py-modindex.html" title="Python Module Index" |
|
218 >modules</a> |</li> |
|
219 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
220 </ul> |
|
221 </div> |
|
222 <div class="footer" role="contentinfo"> |
|
223 © Copyright 2017, Thierry Florac. |
|
224 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
225 </div> |
|
226 </body> |
|
227 </html> |