Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > bec6e630be90191e03c431511d3ac576 > files > 6

php-memcached-1.0.2-6.mga1.i586.rpm

<?php

/**
 * Collator class.
 */

class Memcached {

	/**
	 * Libmemcached behavior options.
	 */

	const OPT_HASH;
	
	const OPT_HASH_DEFAULT;

	const OPT_HASH_MD5;

	const OPT_HASH_CRC;
	
	const OPT_HASH_FNV1_64;

	const OPT_HASH_FNV1A_64;

	const OPT_HASH_FNV1_32;

	const OPT_HASH_FNV1A_32;

	const OPT_HASH_HSIEH;

	const OPT_HASH_MURMUR;

	const OPT_DISTRIBUTION;

	const OPT_DISTRIBUTION_MODULA;

	const OPT_DISTRIBUTION_CONSISTENT;

	const OPT_LIBKETAMA_COMPATIBLE;

	const OPT_BUFFER_REQUESTS;

	const OPT_BINARY_PROTOCOL;

	const OPT_NO_BLOCK;

	const OPT_TCP_NODELAY;

	const OPT_SOCKET_SEND_SIZE;

	const OPT_SOCKET_RECV_SIZE;

	const OPT_CONNECT_TIMEOUT;

	const OPT_RETRY_TIMEOUT;

	const OPT_SND_TIMEOUT;

	const OPT_RCV_TIMEOUT;

	const OPT_POLL_TIMEOUT;

	const OPT_SERVER_FAILURE_LIMIT;

	const OPT_CACHE_LOOKUPS;


	/**
	 * Class options.
	 */
	const OPT_COMPRESSION;

	const OPT_PREFIX_KEY;


	public function __construct( $persistent_id = '' ) {}
	
	public function get( $key, $cache_cb = null, &$cas_token = null ) {}

	public function getByKey( $server_key, $key, $cache_cb = null, &$cas_token = null ) {}

	public function getMulti( array $keys, &$cas_tokens = null, $flags = 0 ) {}

	public function getMultiByKey( $server_key, array $keys, &$cas_tokens = null, $flags = 0 ) {}

	public function getDelayed( array $keys, $with_cas = null, $value_cb = null ) {}

	public function getDelayedByKey( $server_key, array $keys, $with_cas = null, $value_cb = null ) {}

	public function fetch( ) {}
	
	public function fetchAll( ) {}

	public function set( $key, $value, $expiration = 0 ) {}

	public function setByKey( $server_key, $key, $value, $expiration = 0 ) {}

	public function setMulti( array $items, $expiration = 0 ) {}

	public function setMultiByKey( $server_key, array $items, $expiration = 0 ) {}

	public function cas( $token, $key, $value, $expiration = 0 ) {}

	public function casByKey( $token, $server_key, $key, $value, $expiration = 0 ) {}

	public function add( $key, $value, $expiration = 0 ) {}

	public function addByKey( $server_key, $key, $value, $expiration = 0 ) {}

	public function append( $key, $value, $expiration = 0 ) {}

	public function appendByKey( $server_ke, $key, $value, $expiration = 0 ) {}

	public function prepend( $key, $value, $expiration = 0 ) {}

	public function prependByKey( $server_key, $key, $value, $expiration = 0 ) {}

	public function replace( $key, $value, $expiration = 0 ) {}

	public function replaceByKey( $serve_key, $key, $value, $expiration = 0 ) {}

	public function delete( $key, $time = 0 ) {}

	public function deleteByKey( $key, $time = 0 ) {}

	public function increment( $key, $offset = 1) {}

	public function decrement( $key, $offset = 1) {}

	public function getOption( $option ) {}
	
	public function setOption( $option, $value ) {}

	public function addServer( $host, $port,  $weight = 0 ) {}

	public function addServers( array $servers ) {}

	public function getServerList( ) {}

	public function getServerByKey( $server_key ) {}

	public function flush( $delay = 0 ) {}

	public function getStats( ) {}
	
	public function getResultCode( ) {}

	public function getResultMessage( ) {}

}

class MemcachedException extends Exception {

	function __construct( $errmsg = "", $errcode  = 0 ) {}

}