uTools-Manuals/docs/php/mysqlnd_qc_clear_cache.html
2019-04-28 19:00:34 +08:00

65 lines
2.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Flush all cache contents</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.mysqlnd-qc-clear-cache" class="refentry">
<div class="refnamediv">
<h1 class="refname">mysqlnd_qc_clear_cache</h1>
<p class="verinfo">(PECL mysqlnd_qc &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">mysqlnd_qc_clear_cache</span> &mdash; <span class="dc-title">Flush all cache contents</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.mysqlnd-qc-clear-cache-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>mysqlnd_qc_clear_cache</strong></span>
( <span class="methodparam">void</span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
Flush all cache contents.
</p>
<p class="para">
Flushing the cache is a storage handler responsibility.
All built-in storage handler but the
<em>memcache</em> storage
handler support flushing the cache. The
<em>memcache</em>
storage handler cannot flush its cache contents.
</p>
<p class="para">
User-defined storage handler may or may not support the operation.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.mysqlnd-qc-clear-cache-parameters">
<h3 class="title">参数</h3>
<p class="para">此函数没有参数。</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.mysqlnd-qc-clear-cache-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
<p class="para">
A return value of
<strong><code>FALSE</code></strong>
indicates that flushing all cache contents has
failed or the operation is not supported by
the active storage handler. Applications must
not expect that calling the function will always
flush the cache.
</p>
</div>
</div></div></div></body></html>