1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258 |
- <?php
- // Start of memcached v.2.1.0
- /**
- * Represents a connection to a set of memcached servers.
- * @link http://php.net/manual/en/class.memcached.php
- */
- class Memcached {
- /**
- * <p>Enables or disables payload compression. When enabled,
- * item values longer than a certain threshold (currently 100 bytes) will be
- * compressed during storage and decompressed during retrieval
- * transparently.</p>
- * <p>Type: boolean, default: <b>TRUE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_COMPRESSION = -1001;
- const OPT_COMPRESSION_TYPE = -1004;
- /**
- * <p>This can be used to create a "domain" for your item keys. The value
- * specified here will be prefixed to each of the keys. It cannot be
- * longer than 128 characters and will reduce the
- * maximum available key size. The prefix is applied only to the item keys,
- * not to the server keys.</p>
- * <p>Type: string, default: "".</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_PREFIX_KEY = -1002;
- /**
- * <p>
- * Specifies the serializer to use for serializing non-scalar values.
- * The valid serializers are <b>Memcached::SERIALIZER_PHP</b>
- * or <b>Memcached::SERIALIZER_IGBINARY</b>. The latter is
- * supported only when memcached is configured with
- * --enable-memcached-igbinary option and the
- * igbinary extension is loaded.
- * </p>
- * <p>Type: integer, default: <b>Memcached::SERIALIZER_PHP</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_SERIALIZER = -1003;
- /**
- * <p>Indicates whether igbinary serializer support is available.</p>
- * <p>Type: boolean.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HAVE_IGBINARY = 0;
- /**
- * <p>Indicates whether JSON serializer support is available.</p>
- * <p>Type: boolean.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HAVE_JSON = 0;
- const HAVE_SESSION = 1;
- const HAVE_SASL = 0;
- /**
- * <p>Specifies the hashing algorithm used for the item keys. The valid
- * values are supplied via <b>Memcached::HASH_*</b> constants.
- * Each hash algorithm has its advantages and its disadvantages. Go with the
- * default if you don't know or don't care.</p>
- * <p>Type: integer, default: <b>Memcached::HASH_DEFAULT</b></p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_HASH = 2;
- /**
- * <p>The default (Jenkins one-at-a-time) item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_DEFAULT = 0;
- /**
- * <p>MD5 item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_MD5 = 1;
- /**
- * <p>CRC item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_CRC = 2;
- /**
- * <p>FNV1_64 item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_FNV1_64 = 3;
- /**
- * <p>FNV1_64A item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_FNV1A_64 = 4;
- /**
- * <p>FNV1_32 item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_FNV1_32 = 5;
- /**
- * <p>FNV1_32A item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_FNV1A_32 = 6;
- /**
- * <p>Hsieh item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_HSIEH = 7;
- /**
- * <p>Murmur item key hashing algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const HASH_MURMUR = 8;
- /**
- * <p>Specifies the method of distributing item keys to the servers.
- * Currently supported methods are modulo and consistent hashing. Consistent
- * hashing delivers better distribution and allows servers to be added to
- * the cluster with minimal cache losses.</p>
- * <p>Type: integer, default: <b>Memcached::DISTRIBUTION_MODULA.</b></p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_DISTRIBUTION = 9;
- /**
- * <p>Modulo-based key distribution algorithm.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const DISTRIBUTION_MODULA = 0;
- /**
- * <p>Consistent hashing key distribution algorithm (based on libketama).</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const DISTRIBUTION_CONSISTENT = 1;
- const DISTRIBUTION_VIRTUAL_BUCKET = 6;
- /**
- * <p>Enables or disables compatibility with libketama-like behavior. When
- * enabled, the item key hashing algorithm is set to MD5 and distribution is
- * set to be weighted consistent hashing distribution. This is useful
- * because other libketama-based clients (Python, Ruby, etc.) with the same
- * server configuration will be able to access the keys transparently.
- * </p>
- * <p>
- * It is highly recommended to enable this option if you want to use
- * consistent hashing, and it may be enabled by default in future
- * releases.
- * </p>
- * <p>Type: boolean, default: <b>FALSE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_LIBKETAMA_COMPATIBLE = 16;
- const OPT_LIBKETAMA_HASH = 17;
- const OPT_TCP_KEEPALIVE = 32;
- /**
- * <p>Enables or disables buffered I/O. Enabling buffered I/O causes
- * storage commands to "buffer" instead of being sent. Any action that
- * retrieves data causes this buffer to be sent to the remote connection.
- * Quitting the connection or closing down the connection will also cause
- * the buffered data to be pushed to the remote connection.</p>
- * <p>Type: boolean, default: <b>FALSE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_BUFFER_WRITES = 10;
- /**
- * <p>Enable the use of the binary protocol. Please note that you cannot
- * toggle this option on an open connection.</p>
- * <p>Type: boolean, default: <b>FALSE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_BINARY_PROTOCOL = 18;
- /**
- * <p>Enables or disables asynchronous I/O. This is the fastest transport
- * available for storage functions.</p>
- * <p>Type: boolean, default: <b>FALSE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_NO_BLOCK = 0;
- /**
- * <p>Enables or disables the no-delay feature for connecting sockets (may
- * be faster in some environments).</p>
- * <p>Type: boolean, default: <b>FALSE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_TCP_NODELAY = 1;
- /**
- * <p>The maximum socket send buffer in bytes.</p>
- * <p>Type: integer, default: varies by platform/kernel
- * configuration.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_SOCKET_SEND_SIZE = 4;
- /**
- * <p>The maximum socket receive buffer in bytes.</p>
- * <p>Type: integer, default: varies by platform/kernel
- * configuration.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_SOCKET_RECV_SIZE = 5;
- /**
- * <p>In non-blocking mode this set the value of the timeout during socket
- * connection, in milliseconds.</p>
- * <p>Type: integer, default: 1000.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_CONNECT_TIMEOUT = 14;
- /**
- * <p>The amount of time, in seconds, to wait until retrying a failed
- * connection attempt.</p>
- * <p>Type: integer, default: 0.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_RETRY_TIMEOUT = 15;
- /**
- * <p>Socket sending timeout, in microseconds. In cases where you cannot
- * use non-blocking I/O this will allow you to still have timeouts on the
- * sending of data.</p>
- * <p>Type: integer, default: 0.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_SEND_TIMEOUT = 19;
- /**
- * <p>Socket reading timeout, in microseconds. In cases where you cannot
- * use non-blocking I/O this will allow you to still have timeouts on the
- * reading of data.</p>
- * <p>Type: integer, default: 0.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_RECV_TIMEOUT = 20;
- /**
- * <p>Timeout for connection polling, in milliseconds.</p>
- * <p>Type: integer, default: 1000.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_POLL_TIMEOUT = 8;
- /**
- * <p>Enables or disables caching of DNS lookups.</p>
- * <p>Type: boolean, default: <b>FALSE</b>.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_CACHE_LOOKUPS = 6;
- /**
- * <p>Specifies the failure limit for server connection attempts. The
- * server will be removed after this many continuous connection
- * failures.</p>
- * <p>Type: integer, default: 0.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const OPT_SERVER_FAILURE_LIMIT = 21;
- const OPT_AUTO_EJECT_HOSTS = 28;
- const OPT_HASH_WITH_PREFIX_KEY = 25;
- const OPT_NOREPLY = 26;
- const OPT_SORT_HOSTS = 12;
- const OPT_VERIFY_KEY = 13;
- const OPT_USE_UDP = 27;
- const OPT_NUMBER_OF_REPLICAS = 29;
- const OPT_RANDOMIZE_REPLICA_READ = 30;
- const OPT_REMOVE_FAILED_SERVERS = 35;
- /**
- * <p>The operation was successful.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_SUCCESS = 0;
- /**
- * <p>The operation failed in some fashion.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_FAILURE = 1;
- /**
- * <p>DNS lookup failed.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_HOST_LOOKUP_FAILURE = 2;
- /**
- * <p>Failed to read network data.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_UNKNOWN_READ_FAILURE = 7;
- /**
- * <p>Bad command in memcached protocol.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_PROTOCOL_ERROR = 8;
- /**
- * <p>Error on the client side.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_CLIENT_ERROR = 9;
- /**
- * <p>Error on the server side.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_SERVER_ERROR = 10;
- /**
- * <p>Failed to write network data.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_WRITE_FAILURE = 5;
- /**
- * <p>Failed to do compare-and-swap: item you are trying to store has been
- * modified since you last fetched it.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_DATA_EXISTS = 12;
- /**
- * <p>Item was not stored: but not because of an error. This normally
- * means that either the condition for an "add" or a "replace" command
- * wasn't met, or that the item is in a delete queue.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_NOTSTORED = 14;
- /**
- * <p>Item with this key was not found (with "get" operation or "cas"
- * operations).</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_NOTFOUND = 16;
- /**
- * <p>Partial network data read error.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_PARTIAL_READ = 18;
- /**
- * <p>Some errors occurred during multi-get.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_SOME_ERRORS = 19;
- /**
- * <p>Server list is empty.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_NO_SERVERS = 20;
- /**
- * <p>End of result set.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_END = 21;
- /**
- * <p>System error.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_ERRNO = 26;
- /**
- * <p>The operation was buffered.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_BUFFERED = 32;
- /**
- * <p>The operation timed out.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_TIMEOUT = 31;
- /**
- * <p>Bad key.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_BAD_KEY_PROVIDED = 33;
- const RES_STORED = 15;
- const RES_DELETED = 22;
- const RES_STAT = 24;
- const RES_ITEM = 25;
- const RES_NOT_SUPPORTED = 28;
- const RES_FETCH_NOTFINISHED = 30;
- const RES_SERVER_MARKED_DEAD = 35;
- const RES_UNKNOWN_STAT_KEY = 36;
- const RES_INVALID_HOST_PROTOCOL = 34;
- const RES_MEMORY_ALLOCATION_FAILURE = 17;
- const RES_E2BIG = 37;
- const RES_KEY_TOO_BIG = 39;
- const RES_SERVER_TEMPORARILY_DISABLED = 47;
- const RES_SERVER_MEMORY_ALLOCATION_FAILURE = 48;
- const RES_AUTH_PROBLEM = 40;
- const RES_AUTH_FAILURE = 41;
- const RES_AUTH_CONTINUE = 42;
- /**
- * <p>Failed to create network socket.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_CONNECTION_SOCKET_CREATE_FAILURE = 11;
- /**
- * <p>Payload failure: could not compress/decompress or serialize/unserialize the value.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const RES_PAYLOAD_FAILURE = -1001;
- /**
- * <p>The default PHP serializer.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const SERIALIZER_PHP = 1;
- /**
- * <p>The igbinary serializer.
- * Instead of textual representation it stores PHP data structures in a
- * compact binary form, resulting in space and time gains.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const SERIALIZER_IGBINARY = 2;
- /**
- * <p>The JSON serializer. Requires PHP 5.2.10+.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const SERIALIZER_JSON = 3;
- const SERIALIZER_JSON_ARRAY = 4;
- const COMPRESSION_FASTLZ = 2;
- const COMPRESSION_ZLIB = 1;
- /**
- * <p>A flag for <b>Memcached::getMulti</b> and
- * <b>Memcached::getMultiByKey</b> to ensure that the keys are
- * returned in the same order as they were requested in. Non-existing keys
- * get a default value of NULL.</p>
- * @link http://php.net/manual/en/memcached.constants.php
- */
- const GET_PRESERVE_ORDER = 1;
- const GET_ERROR_RETURN_VALUE = false;
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Create a Memcached instance
- * @link http://php.net/manual/en/memcached.construct.php
- * @param $persistent_id [optional]
- * @param $callback [optional]
- */
- public function __construct ($persistent_id, $callback) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Return the result code of the last operation
- * @link http://php.net/manual/en/memcached.getresultcode.php
- * @return int Result code of the last Memcached operation.
- */
- public function getResultCode () {}
- /**
- * (PECL memcached >= 1.0.0)<br/>
- * Return the message describing the result of the last operation
- * @link http://php.net/manual/en/memcached.getresultmessage.php
- * @return string Message describing the result of the last Memcached operation.
- */
- public function getResultMessage () {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Retrieve an item
- * @link http://php.net/manual/en/memcached.get.php
- * @param string $key <p>
- * The key of the item to retrieve.
- * </p>
- * @param callable $cache_cb [optional] <p>
- * Read-through caching callback or <b>NULL</b>.
- * </p>
- * @param float $cas_token [optional] <p>
- * The variable to store the CAS token in.
- * </p>
- * @return mixed the value stored in the cache or <b>FALSE</b> otherwise.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTFOUND</b> if the key does not exist.
- */
- public function get ($key, callable $cache_cb = null, &$cas_token = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Retrieve an item from a specific server
- * @link http://php.net/manual/en/memcached.getbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key of the item to fetch.
- * </p>
- * @param callable $cache_cb [optional] <p>
- * Read-through caching callback or <b>NULL</b>
- * </p>
- * @param float $cas_token [optional] <p>
- * The variable to store the CAS token in.
- * </p>
- * @return mixed the value stored in the cache or <b>FALSE</b> otherwise.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTFOUND</b> if the key does not exist.
- */
- public function getByKey ($server_key, $key, callable $cache_cb = null, &$cas_token = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Retrieve multiple items
- * @link http://php.net/manual/en/memcached.getmulti.php
- * @param array $keys <p>
- * Array of keys to retrieve.
- * </p>
- * @param array $cas_tokens [optional] <p>
- * The variable to store the CAS tokens for the found items.
- * </p>
- * @param int $flags [optional] <p>
- * The flags for the get operation.
- * </p>
- * @return mixed the array of found items or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function getMulti (array $keys, array &$cas_tokens = null, $flags = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Retrieve multiple items from a specific server
- * @link http://php.net/manual/en/memcached.getmultibykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param array $keys <p>
- * Array of keys to retrieve.
- * </p>
- * @param string $cas_tokens [optional] <p>
- * The variable to store the CAS tokens for the found items.
- * </p>
- * @param int $flags [optional] <p>
- * The flags for the get operation.
- * </p>
- * @return array the array of found items or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function getMultiByKey ($server_key, array $keys, &$cas_tokens = null, $flags = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Request multiple items
- * @link http://php.net/manual/en/memcached.getdelayed.php
- * @param array $keys <p>
- * Array of keys to request.
- * </p>
- * @param bool $with_cas [optional] <p>
- * Whether to request CAS token values also.
- * </p>
- * @param callable $value_cb [optional] <p>
- * The result callback or <b>NULL</b>.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function getDelayed (array $keys, $with_cas = null, callable $value_cb = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Request multiple items from a specific server
- * @link http://php.net/manual/en/memcached.getdelayedbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param array $keys <p>
- * Array of keys to request.
- * </p>
- * @param bool $with_cas [optional] <p>
- * Whether to request CAS token values also.
- * </p>
- * @param callable $value_cb [optional] <p>
- * The result callback or <b>NULL</b>.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function getDelayedByKey ($server_key, array $keys, $with_cas = null, callable $value_cb = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Fetch the next result
- * @link http://php.net/manual/en/memcached.fetch.php
- * @return array the next result or <b>FALSE</b> otherwise.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_END</b> if result set is exhausted.
- */
- public function fetch () {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Fetch all the remaining results
- * @link http://php.net/manual/en/memcached.fetchall.php
- * @return array the results or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function fetchAll () {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Store an item
- * @link http://php.net/manual/en/memcached.set.php
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function set ($key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Store an item on a specific server
- * @link http://php.net/manual/en/memcached.setbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function setByKey ($server_key, $key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Set a new expiration on an item
- * @link http://php.net/manual/en/memcached.touch.php
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param int $expiration <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function touch ($key, $expiration) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Set a new expiration on an item on a specific server
- * @link http://php.net/manual/en/memcached.touchbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param int $expiration <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function touchByKey ($server_key, $key, $expiration) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Store multiple items
- * @link http://php.net/manual/en/memcached.setmulti.php
- * @param array $items <p>
- * An array of key/value pairs to store on the server.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function setMulti (array $items, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Store multiple items on a specific server
- * @link http://php.net/manual/en/memcached.setmultibykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param array $items <p>
- * An array of key/value pairs to store on the server.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function setMultiByKey ($server_key, array $items, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Compare and swap an item
- * @link http://php.net/manual/en/memcached.cas.php
- * @param float $cas_token <p>
- * Unique value associated with the existing item. Generated by memcache.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_DATA_EXISTS</b> if the item you are trying
- * to store has been modified since you last fetched it.
- */
- public function cas ($cas_token, $key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Compare and swap an item on a specific server
- * @link http://php.net/manual/en/memcached.casbykey.php
- * @param float $cas_token <p>
- * Unique value associated with the existing item. Generated by memcache.
- * </p>
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_DATA_EXISTS</b> if the item you are trying
- * to store has been modified since you last fetched it.
- */
- public function casByKey ($cas_token, $server_key, $key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Add an item under a new key
- * @link http://php.net/manual/en/memcached.add.php
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key already exists.
- */
- public function add ($key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Add an item under a new key on a specific server
- * @link http://php.net/manual/en/memcached.addbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key already exists.
- */
- public function addByKey ($server_key, $key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Append data to an existing item
- * @link http://php.net/manual/en/memcached.append.php
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param string $value <p>
- * The string to append.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key does not exist.
- */
- public function append ($key, $value) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Append data to an existing item on a specific server
- * @link http://php.net/manual/en/memcached.appendbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param string $value <p>
- * The string to append.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key does not exist.
- */
- public function appendByKey ($server_key, $key, $value) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Prepend data to an existing item
- * @link http://php.net/manual/en/memcached.prepend.php
- * @param string $key <p>
- * The key of the item to prepend the data to.
- * </p>
- * @param string $value <p>
- * The string to prepend.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key does not exist.
- */
- public function prepend ($key, $value) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Prepend data to an existing item on a specific server
- * @link http://php.net/manual/en/memcached.prependbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key of the item to prepend the data to.
- * </p>
- * @param string $value <p>
- * The string to prepend.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key does not exist.
- */
- public function prependByKey ($server_key, $key, $value) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Replace the item under an existing key
- * @link http://php.net/manual/en/memcached.replace.php
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key does not exist.
- */
- public function replace ($key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Replace the item under an existing key on a specific server
- * @link http://php.net/manual/en/memcached.replacebykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key under which to store the value.
- * </p>
- * @param mixed $value <p>
- * The value to store.
- * </p>
- * @param int $expiration [optional] <p>
- * The expiration time, defaults to 0. See Expiration Times for more info.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTSTORED</b> if the key does not exist.
- */
- public function replaceByKey ($server_key, $key, $value, $expiration = null) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Delete an item
- * @link http://php.net/manual/en/memcached.delete.php
- * @param string $key <p>
- * The key to be deleted.
- * </p>
- * @param int $time [optional] <p>
- * The amount of time the server will wait to delete the item.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTFOUND</b> if the key does not exist.
- */
- public function delete ($key, $time = 0) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Delete multiple items
- * @link http://php.net/manual/en/memcached.deletemulti.php
- * @param array $keys <p>
- * The keys to be deleted.
- * </p>
- * @param int $time [optional] <p>
- * The amount of time the server will wait to delete the items.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTFOUND</b> if the key does not exist.
- */
- public function deleteMulti (array $keys, $time = 0) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Delete an item from a specific server
- * @link http://php.net/manual/en/memcached.deletebykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key to be deleted.
- * </p>
- * @param int $time [optional] <p>
- * The amount of time the server will wait to delete the item.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTFOUND</b> if the key does not exist.
- */
- public function deleteByKey ($server_key, $key, $time = 0) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Delete multiple items from a specific server
- * @link http://php.net/manual/en/memcached.deletemultibykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param array $keys <p>
- * The keys to be deleted.
- * </p>
- * @param int $time [optional] <p>
- * The amount of time the server will wait to delete the items.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * The <b>Memcached::getResultCode</b> will return
- * <b>Memcached::RES_NOTFOUND</b> if the key does not exist.
- */
- public function deleteMultiByKey ($server_key, array $keys, $time = 0) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Increment numeric item's value
- * @link http://php.net/manual/en/memcached.increment.php
- * @param string $key <p>
- * The key of the item to increment.
- * </p>
- * @param int $offset [optional] <p>
- * The amount by which to increment the item's value.
- * </p>
- * @param int $initial_value [optional] <p>
- * The value to set the item to if it doesn't currently exist.
- * </p>
- * @param int $expiry [optional] <p>
- * The expiry time to set on the item.
- * </p>
- * @return int new item's value on success or <b>FALSE</b> on failure.
- */
- public function increment ($key, $offset = 1, $initial_value = 0, $expiry = 0) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Decrement numeric item's value
- * @link http://php.net/manual/en/memcached.decrement.php
- * @param string $key <p>
- * The key of the item to decrement.
- * </p>
- * @param int $offset [optional] <p>
- * The amount by which to decrement the item's value.
- * </p>
- * @param int $initial_value [optional] <p>
- * The value to set the item to if it doesn't currently exist.
- * </p>
- * @param int $expiry [optional] <p>
- * The expiry time to set on the item.
- * </p>
- * @return int item's new value on success or <b>FALSE</b> on failure.
- */
- public function decrement ($key, $offset = 1, $initial_value = 0, $expiry = 0) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Increment numeric item's value, stored on a specific server
- * @link http://php.net/manual/en/memcached.incrementbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key of the item to increment.
- * </p>
- * @param int $offset [optional] <p>
- * The amount by which to increment the item's value.
- * </p>
- * @param int $initial_value [optional] <p>
- * The value to set the item to if it doesn't currently exist.
- * </p>
- * @param int $expiry [optional] <p>
- * The expiry time to set on the item.
- * </p>
- * @return int new item's value on success or <b>FALSE</b> on failure.
- */
- public function incrementByKey ($server_key, $key, $offset = 1, $initial_value = 0, $expiry = 0) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Decrement numeric item's value, stored on a specific server
- * @link http://php.net/manual/en/memcached.decrementbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @param string $key <p>
- * The key of the item to decrement.
- * </p>
- * @param int $offset [optional] <p>
- * The amount by which to decrement the item's value.
- * </p>
- * @param int $initial_value [optional] <p>
- * The value to set the item to if it doesn't currently exist.
- * </p>
- * @param int $expiry [optional] <p>
- * The expiry time to set on the item.
- * </p>
- * @return int item's new value on success or <b>FALSE</b> on failure.
- */
- public function decrementByKey ($server_key, $key, $offset = 1, $initial_value = 0, $expiry = 0) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Add a server to the server pool
- * @link http://php.net/manual/en/memcached.addserver.php
- * @param string $host <p>
- * The hostname of the memcache server. If the hostname is invalid, data-related
- * operations will set
- * <b>Memcached::RES_HOST_LOOKUP_FAILURE</b> result code.
- * </p>
- * @param int $port <p>
- * The port on which memcache is running. Usually, this is
- * 11211.
- * </p>
- * @param int $weight [optional] <p>
- * The weight of the server relative to the total weight of all the
- * servers in the pool. This controls the probability of the server being
- * selected for operations. This is used only with consistent distribution
- * option and usually corresponds to the amount of memory available to
- * memcache on that server.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- */
- public function addServer ($host, $port, $weight = 0) {}
- /**
- * (PECL memcached >= 0.1.1)<br/>
- * Add multiple servers to the server pool
- * @link http://php.net/manual/en/memcached.addservers.php
- * @param array $servers
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- */
- public function addServers (array $servers) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Get the list of the servers in the pool
- * @link http://php.net/manual/en/memcached.getserverlist.php
- * @return array The list of all servers in the server pool.
- */
- public function getServerList () {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Map a key to a server
- * @link http://php.net/manual/en/memcached.getserverbykey.php
- * @param string $server_key <p>
- * The key identifying the server to store the value on or retrieve it from. Instead of hashing on the actual key for the item, we hash on the server key when deciding which memcached server to talk to. This allows related items to be grouped together on a single server for efficiency with multi operations.
- * </p>
- * @return array an array containing three keys of host,
- * port, and weight on success or <b>FALSE</b>
- * on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function getServerByKey ($server_key) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Clears all servers from the server list
- * @link http://php.net/manual/en/memcached.resetserverlist.php
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- */
- public function resetServerList () {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Close any open connections
- * @link http://php.net/manual/en/memcached.quit.php
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- */
- public function quit () {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Get server pool statistics
- * @link http://php.net/manual/en/memcached.getstats.php
- * @return array Array of server statistics, one entry per server.
- */
- public function getStats () {}
- /**
- * (PECL memcached >= 0.1.5)<br/>
- * Get server pool version info
- * @link http://php.net/manual/en/memcached.getversion.php
- * @return array Array of server versions, one entry per server.
- */
- public function getVersion () {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Gets the keys stored on all the servers
- * @link http://php.net/manual/en/memcached.getallkeys.php
- * @return array the keys stored on all the servers on success or <b>FALSE</b> on failure.
- */
- public function getAllKeys () {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Invalidate all items in the cache
- * @link http://php.net/manual/en/memcached.flush.php
- * @param int $delay [optional] <p>
- * Numer of seconds to wait before invalidating the items.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- * Use <b>Memcached::getResultCode</b> if necessary.
- */
- public function flush ($delay = 0) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Retrieve a Memcached option value
- * @link http://php.net/manual/en/memcached.getoption.php
- * @param int $option <p>
- * One of the Memcached::OPT_* constants.
- * </p>
- * @return mixed the value of the requested option, or <b>FALSE</b> on
- * error.
- */
- public function getOption ($option) {}
- /**
- * (PECL memcached >= 0.1.0)<br/>
- * Set a Memcached option
- * @link http://php.net/manual/en/memcached.setoption.php
- * @param int $option
- * @param mixed $value
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- */
- public function setOption ($option, $value) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Set Memcached options
- * @link http://php.net/manual/en/memcached.setoptions.php
- * @param array $options <p>
- * An associative array of options where the key is the option to set and
- * the value is the new value for the option.
- * </p>
- * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
- */
- public function setOptions (array $options) {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Check if a persitent connection to memcache is being used
- * @link http://php.net/manual/en/memcached.ispersistent.php
- * @return bool true if Memcache instance uses a persistent connection, false otherwise.
- */
- public function isPersistent () {}
- /**
- * (PECL memcached >= 2.0.0)<br/>
- * Check if the instance was recently created
- * @link http://php.net/manual/en/memcached.ispristine.php
- * @return bool the true if instance is recently created, false otherwise.
- */
- public function isPristine () {}
- }
- /**
- * @link http://php.net/manual/en/class.memcachedexception.php
- */
- class MemcachedException extends RuntimeException {
- }
- // End of memcached v.2.1.0
|