Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • ArrayIterator
  • Closure
  • DateTime
  • Memcache
  • Memcached
  • MemcachePool
  • PDO
  • ReflectionClass
  • ReflectionFunctionAbstract
  • ReflectionMethod
  • ReflectionParameter
  • SimpleXMLElement
  • SplFileInfo
  • SplObjectStorage

Interfaces

  • ArrayAccess
  • BadFunctionCallException
  • BadMethodCallException
  • Countable
  • DateTimeInterface
  • DomainException
  • Exception
  • InvalidArgumentException
  • Iterator
  • IteratorAggregate
  • JsonSerializable
  • LogicException
  • OutOfBoundsException
  • PDOException
  • Reflector
  • RuntimeException
  • SeekableIterator
  • Serializable
  • Traversable
  • UnexpectedValueException
  • Overview
  • Namespace
  • Class
  • Tree

Class Memcached

PHP Extension: Memcached
Documented at php.net
Methods summary
public
# __construct( $persistent_id, $callback )
public
# getResultCode( )
public
# getResultMessage( )
public
# get( $key, $cache_cb, & $cas_token )
public
# getByKey( $server_key, $key, $cache_cb, & $cas_token )
public
# getMulti( array $keys, & $cas_tokens, $flags )
public
# getMultiByKey( $server_key, array $keys, & $cas_tokens, $flags )
public
# getDelayed( array $keys, $with_cas, $value_cb )
public
# getDelayedByKey( $server_key, array $keys, $with_cas, $value_cb )
public
# fetch( )
public
# fetchAll( )
public
# set( $key, $value, $expiration )
public
# setByKey( $server_key, $key, $value, $expiration )
public
# touch( $key, $expiration )
public
# touchByKey( $server_key, $key, $expiration )
public
# setMulti( array $items, $expiration )
public
# setMultiByKey( $server_key, array $items, $expiration )
public
# cas( $cas_token, $key, $value, $expiration )
public
# casByKey( $cas_token, $server_key, $key, $value, $expiration )
public
# add( $key, $value, $expiration )
public
# addByKey( $server_key, $key, $value, $expiration )
public
# append( $key, $value, $expiration )
public
# appendByKey( $server_key, $key, $value, $expiration )
public
# prepend( $key, $value, $expiration )
public
# prependByKey( $server_key, $key, $value, $expiration )
public
# replace( $key, $value, $expiration )
public
# replaceByKey( $server_key, $key, $value, $expiration )
public
# delete( $key, $time )
public
# deleteMulti( $keys, $time )
public
# deleteByKey( $server_key, $key, $time )
public
# deleteMultiByKey( $server_key, $keys, $time )
public
# increment( $key, $offset, $initial_value, $expiry )
public
# decrement( $key, $offset, $initial_value, $expiry )
public
# incrementByKey( $server_key, $key, $offset, $initial_value, $expiry )
public
# decrementByKey( $server_key, $key, $offset, $initial_value, $expiry )
public
# addServer( $host, $port, $weight )
public
# addServers( array $servers )
public
# getServerList( )
public
# getServerByKey( $server_key )
public
# resetServerList( )
public
# quit( )
public
# getStats( )
public
# getVersion( )
public
# getAllKeys( )
public
# flush( $delay )
public
# getOption( $option )
public
# setOption( $option, $value )
public
# setOptions( $options )
public
# isPersistent( )
public
# isPristine( )
Constants summary
integer OPT_COMPRESSION
# -1001
integer OPT_COMPRESSION_TYPE
# -1004
integer OPT_PREFIX_KEY
# -1002
integer OPT_SERIALIZER
# -1003
integer HAVE_IGBINARY
# 0
integer HAVE_JSON
# 0
integer HAVE_SESSION
# 1
integer HAVE_SASL
# 0
integer OPT_HASH
# 2
integer HASH_DEFAULT
# 0
integer HASH_MD5
# 1
integer HASH_CRC
# 2
integer HASH_FNV1_64
# 3
integer HASH_FNV1A_64
# 4
integer HASH_FNV1_32
# 5
integer HASH_FNV1A_32
# 6
integer HASH_HSIEH
# 7
integer HASH_MURMUR
# 8
integer OPT_DISTRIBUTION
# 9
integer DISTRIBUTION_MODULA
# 0
integer DISTRIBUTION_CONSISTENT
# 1
integer DISTRIBUTION_VIRTUAL_BUCKET
# 6
integer OPT_LIBKETAMA_COMPATIBLE
# 16
integer OPT_LIBKETAMA_HASH
# 17
integer OPT_TCP_KEEPALIVE
# 32
integer OPT_BUFFER_WRITES
# 10
integer OPT_BINARY_PROTOCOL
# 18
integer OPT_NO_BLOCK
# 0
integer OPT_TCP_NODELAY
# 1
integer OPT_SOCKET_SEND_SIZE
# 4
integer OPT_SOCKET_RECV_SIZE
# 5
integer OPT_CONNECT_TIMEOUT
# 14
integer OPT_RETRY_TIMEOUT
# 15
integer OPT_SEND_TIMEOUT
# 19
integer OPT_RECV_TIMEOUT
# 20
integer OPT_POLL_TIMEOUT
# 8
integer OPT_CACHE_LOOKUPS
# 6
integer OPT_SERVER_FAILURE_LIMIT
# 21
integer OPT_AUTO_EJECT_HOSTS
# 28
integer OPT_HASH_WITH_PREFIX_KEY
# 25
integer OPT_NOREPLY
# 26
integer OPT_SORT_HOSTS
# 12
integer OPT_VERIFY_KEY
# 13
integer OPT_USE_UDP
# 27
integer OPT_NUMBER_OF_REPLICAS
# 29
integer OPT_RANDOMIZE_REPLICA_READ
# 30
integer OPT_REMOVE_FAILED_SERVERS
# 35
integer RES_SUCCESS
# 0
integer RES_FAILURE
# 1
integer RES_HOST_LOOKUP_FAILURE
# 2
integer RES_UNKNOWN_READ_FAILURE
# 7
integer RES_PROTOCOL_ERROR
# 8
integer RES_CLIENT_ERROR
# 9
integer RES_SERVER_ERROR
# 10
integer RES_WRITE_FAILURE
# 5
integer RES_DATA_EXISTS
# 12
integer RES_NOTSTORED
# 14
integer RES_NOTFOUND
# 16
integer RES_PARTIAL_READ
# 18
integer RES_SOME_ERRORS
# 19
integer RES_NO_SERVERS
# 20
integer RES_END
# 21
integer RES_ERRNO
# 26
integer RES_BUFFERED
# 32
integer RES_TIMEOUT
# 31
integer RES_BAD_KEY_PROVIDED
# 33
integer RES_STORED
# 15
integer RES_DELETED
# 22
integer RES_STAT
# 24
integer RES_ITEM
# 25
integer RES_NOT_SUPPORTED
# 28
integer RES_FETCH_NOTFINISHED
# 30
integer RES_SERVER_MARKED_DEAD
# 35
integer RES_UNKNOWN_STAT_KEY
# 36
integer RES_INVALID_HOST_PROTOCOL
# 34
integer RES_MEMORY_ALLOCATION_FAILURE
# 17
integer RES_CONNECTION_SOCKET_CREATE_FAILURE
# 11
integer RES_PAYLOAD_FAILURE
# -1001
integer SERIALIZER_PHP
# 1
integer SERIALIZER_IGBINARY
# 2
integer SERIALIZER_JSON
# 3
integer SERIALIZER_JSON_ARRAY
# 4
integer COMPRESSION_FASTLZ
# 2
integer COMPRESSION_ZLIB
# 1
integer GET_PRESERVE_ORDER
# 1
boolean GET_ERROR_RETURN_VALUE
# false
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen