Memcache锟斤拷

(PECL memcache >= 0.2.0)

锟斤拷锟�

锟斤拷示锟斤拷锟接碉拷一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷印锟�

锟斤拷摘要

Memcache {
add ( string $key , mixed $var [, int $flag [, int $expire ]] ) : bool
addServer ( string $host [, int $port = 11211 [, bool $persistent [, int $weight [, int $timeout [, int $retry_interval [, bool $status [, callback $failure_callback [, int $timeoutms ]]]]]]]] ) : bool
close ( void ) : bool
connect ( string $host [, int $port [, int $timeout ]] ) : bool
decrement ( string $key [, int $value = 1 ] ) : int
delete ( string $key [, int $timeout = 0 ] ) : bool
flush ( void ) : bool
get ( string $key [, int &$flags ] ) : string
getExtendedStats ([ string $type [, int $slabid [, int $limit = 100 ]]] ) : array
getServerStatus ( string $host [, int $port = 11211 ] ) : int
getStats ([ string $type [, int $slabid [, int $limit = 100 ]]] ) : array
getVersion ( void ) : string
increment ( string $key [, int $value = 1 ] ) : int
pconnect ( string $host [, int $port [, int $timeout ]] ) : mixed
replace ( string $key , mixed $var [, int $flag [, int $expire ]] ) : bool
set ( string $key , mixed $var [, int $flag [, int $expire ]] ) : bool
setCompressThreshold ( int $threshold [, float $min_savings ] ) : bool
setServerParams ( string $host [, int $port = 11211 [, int $timeout [, int $retry_interval = false [, bool $status [, callback $failure_callback ]]]]] ) : bool
}

Table of Contents

  • Memcache::add — 锟斤拷锟斤拷一锟斤拷锟斤拷目锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟�
  • Memcache::addServer — 锟斤拷锟斤拷锟接筹拷锟斤拷锟斤拷锟揭伙拷锟絤emcache锟斤拷锟斤拷锟斤拷
  • Memcache::close — 锟截憋拷memcache锟斤拷锟斤拷
  • Memcache::connect — 锟斤拷一锟斤拷memcached锟斤拷锟斤拷锟斤拷锟斤拷锟�
  • Memcache::decrement — 锟斤拷小元锟截碉拷值
  • Memcache::delete — 锟接凤拷锟斤拷锟缴撅拷锟揭伙拷锟皆拷锟�
  • Memcache::flush — 锟斤拷洗锟斤拷删锟斤拷锟斤拷锟窖撅拷锟芥储锟斤拷锟斤拷锟叫碉拷元锟斤拷
  • Memcache::get — 锟接凤拷锟斤拷思锟斤拷一锟斤拷元锟斤拷
  • Memcache::getExtendedStats — 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷蟹锟斤拷锟斤拷锟酵筹拷锟斤拷锟较�
  • Memcache::getServerStatus — 锟斤拷锟节伙拷取一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷/锟斤拷锟斤拷状态
  • Memcache::getStats — 锟斤拷取锟斤拷锟斤拷锟斤拷统锟斤拷锟斤拷息
  • Memcache::getVersion — 锟斤拷锟截凤拷锟斤拷锟斤拷锟芥本锟斤拷息
  • Memcache::increment — 锟斤拷锟斤拷一锟斤拷元锟截碉拷值
  • Memcache::pconnect — 锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟侥持久伙拷锟斤拷锟斤拷
  • Memcache::replace — 锟芥换锟窖撅拷锟斤拷锟节碉拷元锟截碉拷值
  • Memcache::set — Store data at the server
  • Memcache::setCompressThreshold — 锟斤拷锟斤拷锟斤拷值锟皆讹拷压锟斤拷
  • Memcache::setServerParams — 锟斤拷锟斤拷时锟睫改凤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷状态