6c1613aa11d15a2c2107fe8e54f0525322b5f87d
[m6w6/libmemcached] / bin / memtouch.html
1
2
3 <!DOCTYPE html>
4 <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
5 <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
6 <head>
7 <meta charset="utf-8">
8
9 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10
11 <title>memtouch &mdash; libmemcached 1.0.99 documentation</title>
12
13
14
15
16
17
18
19
20 <script type="text/javascript" src="../_static/js/modernizr.min.js"></script>
21
22
23 <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
24 <script type="text/javascript" src="../_static/jquery.js"></script>
25 <script type="text/javascript" src="../_static/underscore.js"></script>
26 <script type="text/javascript" src="../_static/doctools.js"></script>
27 <script type="text/javascript" src="../_static/language_data.js"></script>
28
29 <script type="text/javascript" src="../_static/js/theme.js"></script>
30
31
32
33
34 <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
35 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
36 <link rel="index" title="Index" href="../genindex.html" />
37 <link rel="search" title="Search" href="../search.html" />
38 <link rel="copyright" title="Copyright" href="../copyright.html" />
39 <link rel="next" title="memrm" href="memrm.html" />
40 <link rel="prev" title="memcp" href="memcp.html" />
41 </head>
42
43 <body class="wy-body-for-nav">
44
45
46 <div class="wy-grid-for-nav">
47
48 <nav data-toggle="wy-nav-shift" class="wy-nav-side">
49 <div class="wy-side-scroll">
50 <div class="wy-side-nav-search" >
51
52
53
54 <a href="../index.html" class="icon icon-home"> libmemcached
55
56
57
58 </a>
59
60
61
62
63 <div class="version">
64 1.0
65 </div>
66
67
68
69
70 <div role="search">
71 <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
72 <input type="text" name="q" placeholder="Search docs" />
73 <input type="hidden" name="check_keywords" value="yes" />
74 <input type="hidden" name="area" value="default" />
75 </form>
76 </div>
77
78
79 </div>
80
81 <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
82
83
84
85
86
87
88 <p class="caption"><span class="caption-text">libmemcached</span></p>
89 <ul>
90 <li class="toctree-l1"><a class="reference internal" href="../libmemcached.html">Introduction</a></li>
91 <li class="toctree-l1"><a class="reference internal" href="../libmemcached/index.html">libmemcached API</a></li>
92 <li class="toctree-l1"><a class="reference internal" href="../libmemcached/index_misc.html">Misc</a></li>
93 </ul>
94 <p class="caption"><span class="caption-text">libmemcachedutil</span></p>
95 <ul>
96 <li class="toctree-l1"><a class="reference internal" href="../libmemcachedutil.html">Introduction</a></li>
97 <li class="toctree-l1"><a class="reference internal" href="../libmemcachedutil/index.html">libmemcachedutil API</a></li>
98 </ul>
99 <p class="caption"><span class="caption-text">libhashkit</span></p>
100 <ul>
101 <li class="toctree-l1"><a class="reference internal" href="../libhashkit.html">Introduction</a></li>
102 <li class="toctree-l1"><a class="reference internal" href="../libhashkit/index.html">libhashkit API</a></li>
103 </ul>
104 <p class="caption"><span class="caption-text">Client Applications</span></p>
105 <ul class="current">
106 <li class="toctree-l1 current"><a class="reference internal" href="index.html">Client Applications</a><ul class="current">
107 <li class="toctree-l2 current"><a class="reference internal" href="index.html#data-manipulation">Data Manipulation</a><ul class="current">
108 <li class="toctree-l3"><a class="reference internal" href="memexist.html">memexist — Check for the existence of a key</a></li>
109 <li class="toctree-l3"><a class="reference internal" href="memcat.html">memcat — &quot;cat&quot; data from a server</a></li>
110 <li class="toctree-l3"><a class="reference internal" href="memcp.html">memcp — &quot;cp&quot; files to a server</a></li>
111 <li class="toctree-l3 current"><a class="current reference internal" href="#">memtouch — &quot;touch&quot; a key</a><ul>
112 <li class="toctree-l4"><a class="reference internal" href="#synopsis">SYNOPSIS</a></li>
113 <li class="toctree-l4"><a class="reference internal" href="#description">DESCRIPTION</a></li>
114 <li class="toctree-l4"><a class="reference internal" href="#options">OPTIONS</a></li>
115 <li class="toctree-l4"><a class="reference internal" href="#see-also">SEE ALSO</a></li>
116 </ul>
117 </li>
118 <li class="toctree-l3"><a class="reference internal" href="memrm.html">memrm – &quot;rm&quot; a key</a></li>
119 </ul>
120 </li>
121 <li class="toctree-l2"><a class="reference internal" href="index.html#tests-and-analysis">Tests and Analysis</a></li>
122 <li class="toctree-l2"><a class="reference internal" href="index.html#server-administration">Server Administration</a></li>
123 </ul>
124 </li>
125 </ul>
126 <p class="caption"><span class="caption-text">Copyright</span></p>
127 <ul>
128 <li class="toctree-l1"><a class="reference internal" href="../copyright.html">Copyright</a></li>
129 </ul>
130
131
132
133 </div>
134 </div>
135 </nav>
136
137 <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
138
139
140 <nav class="wy-nav-top" aria-label="top navigation">
141
142 <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
143 <a href="../index.html">libmemcached</a>
144
145 </nav>
146
147
148 <div class="wy-nav-content">
149
150 <div class="rst-content">
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168 <div role="navigation" aria-label="breadcrumbs navigation">
169
170 <ul class="wy-breadcrumbs">
171
172 <li><a href="../index.html">Docs</a> &raquo;</li>
173
174 <li><a href="index.html">Client Applications</a> &raquo;</li>
175
176 <li>memtouch</li>
177
178
179 <li class="wy-breadcrumbs-aside">
180
181
182
183 </li>
184
185 </ul>
186
187
188 <hr/>
189 </div>
190 <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
191 <div itemprop="articleBody">
192
193 <div class="section" id="memtouch">
194 <h1>memtouch<a class="headerlink" href="#memtouch" title="Permalink to this headline"></a></h1>
195 <div class="section" id="synopsis">
196 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline"></a></h2>
197 <p>memtouch [options] &lt;key&gt;</p>
198 </div>
199 <div class="section" id="description">
200 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
201 <p><strong class="program">memtouch</strong> does a &quot;touch&quot; on the specified key.</p>
202 </div>
203 <div class="section" id="options">
204 <h2>OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline"></a></h2>
205 <dl class="option">
206 <dt id="cmdoption-memtouch-help">
207 <code class="descname">--help</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memtouch-help" title="Permalink to this definition"></a></dt>
208 <dd><p>Display help.</p>
209 </dd></dl>
210
211 <dl class="option">
212 <dt id="cmdoption-memtouch-version">
213 <code class="descname">--version</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memtouch-version" title="Permalink to this definition"></a></dt>
214 <dd><p>Display version.</p>
215 </dd></dl>
216
217 <dl class="option">
218 <dt id="cmdoption-memtouch-quiet">
219 <code class="descname">--quiet</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memtouch-quiet" title="Permalink to this definition"></a></dt>
220 <dd><p>Operate quietly.</p>
221 </dd></dl>
222
223 <dl class="option">
224 <dt id="cmdoption-memtouch-verbose">
225 <code class="descname">--verbose</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memtouch-verbose" title="Permalink to this definition"></a></dt>
226 <dd><p>Operate more verbosely.</p>
227 </dd></dl>
228
229 <dl class="option">
230 <dt id="cmdoption-memtouch-debug">
231 <code class="descname">--debug</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memtouch-debug" title="Permalink to this definition"></a></dt>
232 <dd><p>See <a class="reference internal" href="#cmdoption-memtouch-verbose"><code class="xref std std-option docutils literal notranslate"><span class="pre">--verbose</span></code></a>.</p>
233 </dd></dl>
234
235 <dl class="option">
236 <dt id="cmdoption-memtouch-servers">
237 <code class="descname">--servers</code><code class="descclassname"> &lt;list of servers&gt;</code><a class="headerlink" href="#cmdoption-memtouch-servers" title="Permalink to this definition"></a></dt>
238 <dd><p>Specify the list of servers as <em>hostname[:port][,hostname[:port]...]</em>.</p>
239 </dd></dl>
240
241 <dl class="option">
242 <dt id="cmdoption-memtouch-binary">
243 <code class="descname">--binary</code><code class="descclassname"></code><a class="headerlink" href="#cmdoption-memtouch-binary" title="Permalink to this definition"></a></dt>
244 <dd><p>Enable binary protocol.</p>
245 </dd></dl>
246
247 <dl class="option">
248 <dt id="cmdoption-memtouch-expire">
249 <code class="descname">--expire</code><code class="descclassname"> &lt;expiration&gt;</code><a class="headerlink" href="#cmdoption-memtouch-expire" title="Permalink to this definition"></a></dt>
250 <dd><p>Use <em>expiration</em> seconds (or a UNIX timestamp).</p>
251 </dd></dl>
252
253 <dl class="option">
254 <dt id="cmdoption-memtouch-hash">
255 <code class="descname">--hash</code><code class="descclassname"> &lt;algorithm&gt;</code><a class="headerlink" href="#cmdoption-memtouch-hash" title="Permalink to this definition"></a></dt>
256 <dd><p>Use <em>algorithm</em> as key hash algo.
257 See <a class="reference internal" href="../libmemcached/memcached_behavior.html#_CPPv4N20memcached_behavior_t23MEMCACHED_BEHAVIOR_HASHE" title="memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH"><code class="xref cpp cpp-enumerator docutils literal notranslate"><span class="pre">memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH</span></code></a>.</p>
258 </dd></dl>
259
260 <dl class="option">
261 <dt id="cmdoption-memtouch-username">
262 <code class="descname">--username</code><code class="descclassname"> &lt;username&gt;</code><a class="headerlink" href="#cmdoption-memtouch-username" title="Permalink to this definition"></a></dt>
263 <dd><p>Use <em>username</em> for SASL authentication.</p>
264 </dd></dl>
265
266 <dl class="option">
267 <dt id="cmdoption-memtouch-password">
268 <code class="descname">--password</code><code class="descclassname"> &lt;password&gt;</code><a class="headerlink" href="#cmdoption-memtouch-password" title="Permalink to this definition"></a></dt>
269 <dd><p>Use <em>password</em> for SASL authentication.</p>
270 </dd></dl>
271
272 </div>
273 <div class="section" id="see-also">
274 <h2>SEE ALSO<a class="headerlink" href="#see-also" title="Permalink to this headline"></a></h2>
275 <ul class="simple">
276 <li><a class="reference internal" href="../libmemcached.html"><span class="doc">C/C++ Client Library for memcached</span></a></li>
277 <li><a class="reference internal" href="../libmemcached/memcached_touch.html"><span class="doc">Update expiration on a key</span></a></li>
278 </ul>
279 </div>
280 </div>
281
282
283 </div>
284
285 </div>
286 <footer>
287
288 <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
289
290 <a href="memrm.html" class="btn btn-neutral float-right" title="memrm" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
291
292
293 <a href="memcp.html" class="btn btn-neutral float-left" title="memcp" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
294
295 </div>
296
297
298 <hr/>
299
300 <div role="contentinfo">
301 <p>
302 &copy; <a href="../copyright.html">Copyright</a>
303
304 </p>
305 </div>
306 Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
307
308 </footer>
309
310 </div>
311 </div>
312
313 </section>
314
315 </div>
316
317
318
319 <script type="text/javascript">
320 jQuery(function () {
321 SphinxRtdTheme.Navigation.enable(true);
322 });
323 </script>
324
325
326
327
328
329
330 </body>
331 </html>