MCPcopy Create free account
hub / github.com/apache/thrift / apcuFetch

Method apcuFetch

lib/php/lib/Transport/TSocketPool.php:310–313  ·  view source on GitHub ↗

* This library makes use of APCu cache to make hosts as down in a web * environment. If you are running from the CLI or on a system without APCu * installed, then these null functions will step in and act like cache * misses. */

($key, &$success = null)

Source from the content-addressed store, hash-verified

308 * misses.
309 */
310 private function apcuFetch($key, &$success = null)
311 {
312 return $this->useApcuCache ? apcu_fetch($key, $success) : false;
313 }
314
315 private function apcuStore($key, $var, $ttl = 0)
316 {

Callers 1

openMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected