From b9180233bb78967b5e2ed5815e21c628848e2abc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Apr 2014 09:08:38 +0200 Subject: php-pecl-memcached: 2.2.0 (stable) --- memcached-build.patch | 34 --- memcached-info.patch | 16 - php-pecl-memcached.spec | 74 +++-- reflection-2.2.0 | 765 ++++++++++++++++++++++++++++++++++++++++++++++++ reflection-2.2.0b1 | 764 ----------------------------------------------- 5 files changed, 822 insertions(+), 831 deletions(-) delete mode 100644 memcached-build.patch delete mode 100644 memcached-info.patch create mode 100644 reflection-2.2.0 delete mode 100644 reflection-2.2.0b1 diff --git a/memcached-build.patch b/memcached-build.patch deleted file mode 100644 index 1581e08..0000000 --- a/memcached-build.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 74542111f175fe2ec41c8bf722fc2cd3dac93eea Mon Sep 17 00:00:00 2001 -From: Andrei Zmievski -Date: Sun, 30 Sep 2012 11:09:01 -0700 -Subject: [PATCH] Fix version access for libmemcached older than 1.0.8. - ---- - php_memcached.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/php_memcached.c b/php_memcached.c -index 90ea8ab..7e6041a 100644 ---- a/php_memcached.c -+++ b/php_memcached.c -@@ -2642,10 +2642,17 @@ static memcached_return php_memc_do_version_callback(const memcached_st *ptr, me - struct callbackContext* context = (struct callbackContext*) in_context; - - hostport_len = spprintf(&hostport, 0, "%s:%d", memcached_server_name(instance), memcached_server_port(instance)); -+#if defined(LIBMEMCACHED_VERSION_HEX) && LIBMEMCACHED_VERSION_HEX >= 0x01000008 - version_len = snprintf(version, sizeof(version), "%d.%d.%d", - memcached_server_major_version(instance), - memcached_server_minor_version(instance), - memcached_server_micro_version(instance)); -+#else -+ version_len = snprintf(version, sizeof(version), "%d.%d.%d", -+ instance->major_version, -+ instance->minor_version, -+ instance->micro_version); -+#endif - - add_assoc_stringl_ex(context->return_value, hostport, hostport_len+1, version, version_len, 1); - efree(hostport); --- -1.7.10 - diff --git a/memcached-info.patch b/memcached-info.patch deleted file mode 100644 index c5c494f..0000000 --- a/memcached-info.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -up memcached-2.1.0/php_memcached.c.info memcached-2.1.0/php_memcached.c ---- memcached-2.1.0/php_memcached.c.info 2012-11-17 09:52:02.576769778 +0100 -+++ memcached-2.1.0/php_memcached.c 2012-11-17 09:54:23.335280240 +0100 -@@ -3877,6 +3877,12 @@ PHP_MINFO_FUNCTION(memcached) - php_info_print_table_row(2, "Version", PHP_MEMCACHED_VERSION); - php_info_print_table_row(2, "libmemcached version", memcached_lib_version()); - -+#if HAVE_MEMCACHED_SASL -+ php_info_print_table_row(2, "SASL support", "yes"); -+#else -+ php_info_print_table_row(2, "SASL support", "no"); -+#endif -+ - #ifdef HAVE_MEMCACHED_SESSION - php_info_print_table_row(2, "Session support", "yes"); - #else diff --git a/php-pecl-memcached.spec b/php-pecl-memcached.spec index e4e13d8..8fadad1 100644 --- a/php-pecl-memcached.spec +++ b/php-pecl-memcached.spec @@ -16,13 +16,13 @@ %global with_zts 0%{?__ztsphp:1} %global with_tests %{?_with_tests:1}%{!?_with_tests:0} %global pecl_name memcached -%global prever RC1 -%global intver rc1 +#global prever RC1 +#global intver rc1 Summary: Extension to work with the Memcached caching daemon Name: %{?scl_prefix}php-pecl-memcached Version: 2.2.0 -Release: 0.3.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} # memcached is PHP, FastLZ is MIT License: PHP and MIT Group: Development/Languages @@ -36,7 +36,9 @@ BuildRequires: %{?scl_prefix}php-devel >= 5.2.10 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-json BuildRequires: %{?scl_prefix}php-pecl-igbinary-devel +%ifnarch ppc64 BuildRequires: %{?scl_prefix}php-pecl-msgpack-devel +%endif BuildRequires: zlib-devel BuildRequires: cyrus-sasl-devel %if %{with_tests} @@ -53,15 +55,23 @@ BuildRequires: %{?scl_prefix}libmemcached-devel > 1 Requires: %{?scl_prefix}libmemcached-libs%{_isa} > 1 %else BuildRequires: libevent-devel >= 2.0.2 +%if 0%{?rhel} == 5 +BuildRequires: libmemcached-devel > 1 +%else +# To ensure use of libmemcached-last for --enable-memcached-protocol +BuildRequires: libmemcached-devel > 1.0.16 +%endif %endif Requires(post): %{__pecl} Requires(postun): %{__pecl} Requires: %{?scl_prefix}php-pecl-igbinary%{?_isa} -Requires: %{?scl_prefix}php-pecl-msgpack%{?_isa} Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} +%ifnarch ppc64 +Requires: %{?scl_prefix}php-pecl-msgpack%{?_isa} +%endif Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} @@ -120,14 +130,38 @@ extension=%{pecl_name}.so ; RPM note : save_handler and save_path are defined ; for mod_php, in /etc/httpd/conf.d/php.conf -; for php-fpm, in /etc/php-fpm.d/*conf +; for php-fpm, in %{_sysconfdir}/php-fpm.d/*conf ; Use memcache as a session handler ;session.save_handler=memcached ; Defines a comma separated list of server urls to use for session storage ;session.save_path="localhost:11211" + +; ----- Configuration options +; http://php.net/manual/en/memcached.configuration.php + +;memcached.sess_locking = 1 +;memcached.sess_consistent_hash = 0 +;memcached.sess_binary = 0 +;memcached.sess_lock_wait = 150000 +;memcached.sess_lock_max_wait = 0 +;memcached.sess_lock_expire = 0 +;memcached.sess_prefix = "memc.sess.key." +;memcached.sess_number_of_replicas = 0 +;memcached.sess_randomize_replica_read = 0 +;memcached.sess_remove_failed = 0 +;memcached.sess_connect_timeout = 1000 +;memcached.sess_sasl_username = "" +;memcached.sess_sasl_password = "" +;memcached.compression_type = "fastlz" +;memcached.compression_factor = "1.3" +;memcached.compression_threshold = 2000 +;memcached.serializer = "igbinary" +;memcached.use_sasl = 0 +;memcached.store_retry_count = 2 EOF + %if %{with_zts} cp -r NTS ZTS %endif @@ -141,7 +175,9 @@ peclconf() { %configure --enable-memcached-igbinary \ --enable-memcached-json \ --enable-memcached-sasl \ +%ifnarch ppc64 --enable-memcached-msgpack \ +%endif %if 0%{?rhel} == 5 --disable-memcached-protocol \ %else @@ -204,21 +240,20 @@ fi %check +OPT="-n" +[ -f %{php_extdir}/igbinary.so ] && OPT="$OPT -d extension=igbinary.so" +[ -f %{php_extdir}/json.so ] && OPT="$OPT -d extension=json.so" +[ -f %{php_extdir}/msgpack.so ] && OPT="$OPT -d extension=msgpack.so" + : Minimal load test for NTS extension -%{__php} -n -q \ - -d extension=igbinary.so \ - -d extension=json.so \ - -d extension=msgpack.so \ - -d extension=NTS/modules/%{pecl_name}.so \ +%{__php} $OPT \ + -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ --modules | grep %{pecl_name} %if %{with_zts} : Minimal load test for ZTS extension -%{__ztsphp} -n -q \ - -d extension=igbinary.so \ - -d extension=json.so \ - -d extension=msgpack.so \ - -d extension=ZTS/modules/%{pecl_name}.so \ +%{__ztsphp} $OPT \ + -d extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ --modules | grep %{pecl_name} %endif @@ -232,7 +267,7 @@ memcached -p 11211 -U 11211 -d -P $PWD/memcached.pid pushd NTS rm tests/flush_buffers.phpt tests/touch_binary.phpt TEST_PHP_EXECUTABLE=%{__php} \ -TEST_PHP_ARGS="-n -d extension=igbinary.so -d extension=json.so -d extension=msgpack.so -d extension=$PWD/modules/%{pecl_name}.so" \ +TEST_PHP_ARGS="$OPT -d extension=$PWD/modules/%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ %{__php} -n run-tests.php || ret=1 @@ -243,7 +278,7 @@ popd pushd ZTS rm tests/flush_buffers.phpt tests/touch_binary.phpt TEST_PHP_EXECUTABLE=%{__ztsphp} \ -TEST_PHP_ARGS="-n -d extension=igbinary.so -d extension=json.so -d extension=msgpack.so -d extension=$PWD/modules/%{pecl_name}.so" \ +TEST_PHP_ARGS="$OPT -d extension=$PWD/modules/%{pecl_name}.so" \ NO_INTERACTION=1 \ REPORT_EXIT_STATUS=1 \ %{__ztsphp} -n run-tests.php || ret=1 @@ -274,6 +309,11 @@ exit $ret %changelog +* Wed Apr 2 2014 Remi Collet - 2.2.0-1 +- update to 2.2.0 (stable) +- add all ini options +- msgpack not available for ppc64 + * Wed Mar 19 2014 Remi Collet - 2.2.0-0.3.RC1 - allow SCL build diff --git a/reflection-2.2.0 b/reflection-2.2.0 new file mode 100644 index 0000000..48dec61 --- /dev/null +++ b/reflection-2.2.0 @@ -0,0 +1,765 @@ +Extension [ extension #156 memcached version 2.2.0 ] { + + - INI { + Entry [ memcached.sess_locking ] + Current = '1' + } + Entry [ memcached.sess_consistent_hash ] + Current = '0' + } + Entry [ memcached.sess_binary ] + Current = '0' + } + Entry [ memcached.sess_lock_wait ] + Current = '150000' + } + Entry [ memcached.sess_lock_max_wait ] + Current = '0' + } + Entry [ memcached.sess_lock_expire ] + Current = '0' + } + Entry [ memcached.sess_prefix ] + Current = 'memc.sess.key.' + } + Entry [ memcached.sess_number_of_replicas ] + Current = '0' + } + Entry [ memcached.sess_randomize_replica_read ] + Current = '0' + } + Entry [ memcached.sess_remove_failed ] + Current = '0' + } + Entry [ memcached.sess_connect_timeout ] + Current = '1000' + } + Entry [ memcached.sess_sasl_username ] + Current = '' + } + Entry [ memcached.sess_sasl_password ] + Current = '' + } + Entry [ memcached.compression_type ] + Current = 'fastlz' + } + Entry [ memcached.compression_factor ] + Current = '1.3' + } + Entry [ memcached.compression_threshold ] + Current = '2000' + } + Entry [ memcached.serializer ] + Current = 'igbinary' + } + Entry [ memcached.use_sasl ] + Current = '0' + } + Entry [ memcached.store_retry_count ] + Current = '2' + } + } + + - Classes [3] { + Class [ class Memcached ] { + + - Constants [130] { + Constant [ integer LIBMEMCACHED_VERSION_HEX ] { 16777240 } + Constant [ integer OPT_COMPRESSION ] { -1001 } + Constant [ integer OPT_COMPRESSION_TYPE ] { -1004 } + Constant [ integer OPT_PREFIX_KEY ] { -1002 } + Constant [ integer OPT_SERIALIZER ] { -1003 } + Constant [ integer OPT_STORE_RETRY_COUNT ] { -1005 } + Constant [ integer HAVE_IGBINARY ] { 1 } + Constant [ integer HAVE_JSON ] { 1 } + Constant [ integer HAVE_MSGPACK ] { 1 } + Constant [ integer HAVE_SESSION ] { 1 } + Constant [ integer HAVE_SASL ] { 1 } + Constant [ integer OPT_HASH ] { 2 } + Constant [ integer HASH_DEFAULT ] { 0 } + Constant [ integer HASH_MD5 ] { 1 } + Constant [ integer HASH_CRC ] { 2 } + Constant [ integer HASH_FNV1_64 ] { 3 } + Constant [ integer HASH_FNV1A_64 ] { 4 } + Constant [ integer HASH_FNV1_32 ] { 5 } + Constant [ integer HASH_FNV1A_32 ] { 6 } + Constant [ integer HASH_HSIEH ] { 7 } + Constant [ integer HASH_MURMUR ] { 8 } + Constant [ integer OPT_DISTRIBUTION ] { 9 } + Constant [ integer DISTRIBUTION_MODULA ] { 0 } + Constant [ integer DISTRIBUTION_CONSISTENT ] { 1 } + Constant [ integer DISTRIBUTION_VIRTUAL_BUCKET ] { 6 } + Constant [ integer OPT_LIBKETAMA_COMPATIBLE ] { 16 } + Constant [ integer OPT_LIBKETAMA_HASH ] { 17 } + Constant [ integer OPT_TCP_KEEPALIVE ] { 32 } + Constant [ integer OPT_BUFFER_WRITES ] { 10 } + Constant [ integer OPT_BINARY_PROTOCOL ] { 18 } + Constant [ integer OPT_NO_BLOCK ] { 0 } + Constant [ integer OPT_TCP_NODELAY ] { 1 } + Constant [ integer OPT_SOCKET_SEND_SIZE ] { 4 } + Constant [ integer OPT_SOCKET_RECV_SIZE ] { 5 } + Constant [ integer OPT_CONNECT_TIMEOUT ] { 14 } + Constant [ integer OPT_RETRY_TIMEOUT ] { 15 } + Constant [ integer OPT_DEAD_TIMEOUT ] { 36 } + Constant [ integer OPT_SEND_TIMEOUT ] { 19 } + Constant [ integer OPT_RECV_TIMEOUT ] { 20 } + Constant [ integer OPT_POLL_TIMEOUT ] { 8 } + Constant [ integer OPT_CACHE_LOOKUPS ] { 6 } + Constant [ integer OPT_SERVER_FAILURE_LIMIT ] { 21 } + Constant [ integer OPT_AUTO_EJECT_HOSTS ] { 28 } + Constant [ integer OPT_HASH_WITH_PREFIX_KEY ] { 25 } + Constant [ integer OPT_NOREPLY ] { 26 } + Constant [ integer OPT_SORT_HOSTS ] { 12 } + Constant [ integer OPT_VERIFY_KEY ] { 13 } + Constant [ integer OPT_USE_UDP ] { 27 } + Constant [ integer OPT_NUMBER_OF_REPLICAS ] { 29 } + Constant [ integer OPT_RANDOMIZE_REPLICA_READ ] { 30 } + Constant [ integer OPT_REMOVE_FAILED_SERVERS ] { 35 } + Constant [ integer OPT_SERVER_TIMEOUT_LIMIT ] { 37 } + Constant [ integer RES_SUCCESS ] { 0 } + Constant [ integer RES_FAILURE ] { 1 } + Constant [ integer RES_HOST_LOOKUP_FAILURE ] { 2 } + Constant [ integer RES_UNKNOWN_READ_FAILURE ] { 7 } + Constant [ integer RES_PROTOCOL_ERROR ] { 8 } + Constant [ integer RES_CLIENT_ERROR ] { 9 } + Constant [ integer RES_SERVER_ERROR ] { 10 } + Constant [ integer RES_WRITE_FAILURE ] { 5 } + Constant [ integer RES_DATA_EXISTS ] { 12 } + Constant [ integer RES_NOTSTORED ] { 14 } + Constant [ integer RES_NOTFOUND ] { 16 } + Constant [ integer RES_PARTIAL_READ ] { 18 } + Constant [ integer RES_SOME_ERRORS ] { 19 } + Constant [ integer RES_NO_SERVERS ] { 20 } + Constant [ integer RES_END ] { 21 } + Constant [ integer RES_ERRNO ] { 26 } + Constant [ integer RES_BUFFERED ] { 32 } + Constant [ integer RES_TIMEOUT ] { 31 } + Constant [ integer RES_BAD_KEY_PROVIDED ] { 33 } + Constant [ integer RES_STORED ] { 15 } + Constant [ integer RES_DELETED ] { 22 } + Constant [ integer RES_STAT ] { 24 } + Constant [ integer RES_ITEM ] { 25 } + Constant [ integer RES_NOT_SUPPORTED ] { 28 } + Constant [ integer RES_FETCH_NOTFINISHED ] { 30 } + Constant [ integer RES_SERVER_MARKED_DEAD ] { 35 } + Constant [ integer RES_UNKNOWN_STAT_KEY ] { 36 } + Constant [ integer RES_INVALID_HOST_PROTOCOL ] { 34 } + Constant [ integer RES_MEMORY_ALLOCATION_FAILURE ] { 17 } + Constant [ integer RES_CONNECTION_SOCKET_CREATE_FAILURE ] { 11 } + Constant [ integer RES_E2BIG ] { 37 } + Constant [ integer RES_KEY_TOO_BIG ] { 39 } + Constant [ integer RES_SERVER_TEMPORARILY_DISABLED ] { 47 } + Constant [ integer RES_SERVER_MEMORY_ALLOCATION_FAILURE ] { 48 } + Constant [ integer RES_AUTH_PROBLEM ] { 40 } + Constant [ integer RES_AUTH_FAILURE ] { 41 } + Constant [ integer RES_AUTH_CONTINUE ] { 42 } + Constant [ integer RES_PAYLOAD_FAILURE ] { -1001 } + Constant [ integer SERIALIZER_PHP ] { 1 } + Constant [ integer SERIALIZER_IGBINARY ] { 2 } + Constant [ integer SERIALIZER_JSON ] { 3 } + Constant [ integer SERIALIZER_JSON_ARRAY ] { 4 } + Constant [ integer SERIALIZER_MSGPACK ] { 5 } + Constant [ integer COMPRESSION_FASTLZ ] { 2 } + Constant [ integer COMPRESSION_ZLIB ] { 1 } + Constant [ integer GET_PRESERVE_ORDER ] { 1 } + Constant [ integer ON_CONNECT ] { 0 } + Constant [ integer ON_ADD ] { 1 } + Constant [ integer ON_APPEND ] { 2 } + Constant [ integer ON_DECREMENT ] { 3 } + Constant [ integer ON_DELETE ] { 4 } + Constant [ integer ON_FLUSH ] { 5 } + Constant [ integer ON_GET ] { 6 } + Constant [ integer ON_INCREMENT ] { 7 } + Constant [ integer ON_NOOP ] { 8 } + Constant [ integer ON_PREPEND ] { 9 } + Constant [ integer ON_QUIT ] { 10 } + Constant [ integer ON_REPLACE ] { 11 } + Constant [ integer ON_SET ] { 12 } + Constant [ integer ON_STAT ] { 13 } + Constant [ integer ON_VERSION ] { 14 } + Constant [ integer RESPONSE_SUCCESS ] { 0 } + Constant [ integer RESPONSE_KEY_ENOENT ] { 1 } + Constant [ integer RESPONSE_KEY_EEXISTS ] { 2 } + Constant [ integer RESPONSE_E2BIG ] { 3 } + Constant [ integer RESPONSE_EINVAL ] { 4 } + Constant [ integer RESPONSE_NOT_STORED ] { 5 } + Constant [ integer RESPONSE_DELTA_BADVAL ] { 6 } + Constant [ integer RESPONSE_NOT_MY_VBUCKET ] { 7 } + Constant [ integer RESPONSE_AUTH_ERROR ] { 32 } + Constant [ integer RESPONSE_AUTH_CONTINUE ] { 33 } + Constant [ integer RESPONSE_UNKNOWN_COMMAND ] { 129 } + Constant [ integer RESPONSE_ENOMEM ] { 130 } + Constant [ integer RESPONSE_NOT_SUPPORTED ] { 131 } + Constant [ integer RESPONSE_EINTERNAL ] { 132 } + Constant [ integer RESPONSE_EBUSY ] { 133 } + Constant [ integer RESPONSE_ETMPFAIL ] { 134 } + Constant [ boolean GET_ERROR_RETURN_VALUE ] { } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [57] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ $persistent_id ] + Parameter #1 [ $callback ] + } + } + + Method [ public method getResultCode ] { + + - Parameters [0] { + } + } + + Method [ public method getResultMessage ] { + + - Parameters [0] { + } + } + + Method [ public method get ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ $cache_cb ] + Parameter #2 [ &$cas_token ] + Parameter #3 [ &$udf_flags ] + } + } + + Method [ public method getByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $cache_cb ] + Parameter #3 [ &$cas_token ] + Parameter #4 [ &$udf_flags ] + } + } + + Method [ public method getMulti ] { + + - Parameters [4] { + Parameter #0 [ array $keys ] + Parameter #1 [ &$cas_tokens ] + Parameter #2 [ $flags ] + Parameter #3 [ &$udf_flags ] + } + } + + Method [ public method getMultiByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ array $keys ] + Parameter #2 [ &$cas_tokens ] + Parameter #3 [ $flags ] + Parameter #4 [ &$udf_flags ] + } + } + + Method [ public method getDelayed ] { + + - Parameters [3] { + Parameter #0 [ array $keys ] + Parameter #1 [ $with_cas ] + Parameter #2 [ $value_cb ] + } + } + + Method [ public method getDelayedByKey ] { + + - Parameters [4] { + Parameter #0 [ $server_key ] + Parameter #1 [ array $keys ] + Parameter #2 [ $with_cas ] + Parameter #3 [ $value_cb ] + } + } + + Method [ public method fetch ] { + + - Parameters [0] { + } + } + + Method [ public method fetchAll ] { + + - Parameters [0] { + } + } + + Method [ public method set ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $expiration ] + Parameter #3 [ $udf_flags ] + } + } + + Method [ public method setByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] + Parameter #3 [ $expiration ] + Parameter #4 [ $udf_flags ] + } + } + + Method [ public method touch ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $expiration ] + } + } + + Method [ public method touchByKey ] { + + - Parameters [3] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $expiration ] + } + } + + Method [ public method setMulti ] { + + - Parameters [3] { + Parameter #0 [ array $items ] + Parameter #1 [ $expiration ] + Parameter #2 [ $udf_flags ] + } + } + + Method [ public method setMultiByKey ] { + + - Parameters [4] { + Parameter #0 [ $server_key ] + Parameter #1 [ array $items ] + Parameter #2 [ $expiration ] + Parameter #3 [ $udf_flags ] + } + } + + Method [ public method cas ] { + + - Parameters [5] { + Parameter #0 [ $cas_token ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] + Parameter #3 [ $expiration ] + Parameter #4 [ $udf_flags ] + } + } + + Method [ public method casByKey ] { + + - Parameters [6] { + Parameter #0 [ $cas_token ] + Parameter #1 [ $server_key ] + Parameter #2 [ $key ] + Parameter #3 [ $value ] + Parameter #4 [ $expiration ] + Parameter #5 [ $udf_flags ] + } + } + + Method [ public method add ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $expiration ] + Parameter #3 [ $udf_flags ] + } + } + + Method [ public method addByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] + Parameter #3 [ $expiration ] + Parameter #4 [ $udf_flags ] + } + } + + Method [ public method append ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $expiration ] + } + } + + Method [ public method appendByKey ] { + + - Parameters [4] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] + Parameter #3 [ $expiration ] + } + } + + Method [ public method prepend ] { + + - Parameters [3] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $expiration ] + } + } + + Method [ public method prependByKey ] { + + - Parameters [4] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] + Parameter #3 [ $expiration ] + } + } + + Method [ public method replace ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ $value ] + Parameter #2 [ $expiration ] + Parameter #3 [ $udf_flags ] + } + } + + Method [ public method replaceByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] + Parameter #3 [ $expiration ] + Parameter #4 [ $udf_flags ] + } + } + + Method [ public method delete ] { + + - Parameters [2] { + Parameter #0 [ $key ] + Parameter #1 [ $time ] + } + } + + Method [ public method deleteMulti ] { + + - Parameters [2] { + Parameter #0 [ $keys ] + Parameter #1 [ $time ] + } + } + + Method [ public method deleteByKey ] { + + - Parameters [3] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $time ] + } + } + + Method [ public method deleteMultiByKey ] { + + - Parameters [3] { + Parameter #0 [ $server_key ] + Parameter #1 [ $keys ] + Parameter #2 [ $time ] + } + } + + Method [ public method increment ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ $offset ] + Parameter #2 [ $initial_value ] + Parameter #3 [ $expiry ] + } + } + + Method [ public method decrement ] { + + - Parameters [4] { + Parameter #0 [ $key ] + Parameter #1 [ $offset ] + Parameter #2 [ $initial_value ] + Parameter #3 [ $expiry ] + } + } + + Method [ public method incrementByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $offset ] + Parameter #3 [ $initial_value ] + Parameter #4 [ $expiry ] + } + } + + Method [ public method decrementByKey ] { + + - Parameters [5] { + Parameter #0 [ $server_key ] + Parameter #1 [ $key ] + Parameter #2 [ $offset ] + Parameter #3 [ $initial_value ] + Parameter #4 [ $expiry ] + } + } + + Method [ public method addServer ] { + + - Parameters [3] { + Parameter #0 [ $host ] + Parameter #1 [ $port ] + Parameter #2 [ $weight ] + } + } + + Method [ public method addServers ] { + + - Parameters [1] { + Parameter #0 [ array $servers ] + } + } + + Method [ public method getServerList ] { + + - Parameters [0] { + } + } + + Method [ public method getServerByKey ] { + + - Parameters [1] { + Parameter #0 [ $server_key ] + } + } + + Method [ public method resetServerList ] { + + - Parameters [0] { + } + } + + Method [ public method quit ] { + + - Parameters [0] { + } + } + + Method [ public method flushBuffers ] { + + - Parameters [0] { + } + } + + Method [ public method getLastErrorMessage ] { + + - Parameters [0] { + } + } + + Method [ public method getLastErrorCode ] { + + - Parameters [0] { + } + } + + Method [ public method getLastErrorErrno ] { + + - Parameters [0] { + } + } + + Method [ public method getLastDisconnectedServer ] { + + - Parameters [0] { + } + } + + Method [ public method getStats ] { + + - Parameters [0] { + } + } + + Method [ public method getVersion ] { + + - Parameters [0] { + } + } + + Method [ public method getAllKeys ] { + + - Parameters [0] { + } + } + + Method [ public method flush ] { + + - Parameters [1] { + Parameter #0 [ $delay ] + } + } + + Method [ public method getOption ] { + + - Parameters [1] { + Parameter #0 [ $option ] + } + } + + Method [ public method setOption ] { + + - Parameters [2] { + Parameter #0 [ $option ] + Parameter #1 [ $value ] + } + } + + Method [ public method setOptions ] { + + - Parameters [1] { + Parameter #0 [ $options ] + } + } + + Method [ public method setBucket ] { + + - Parameters [3] { + Parameter #0 [ $host_map ] + Parameter #1 [ $forward_map ] + Parameter #2 [ $replicas ] + } + } + + Method [ public method setSaslAuthData ] { + + - Parameters [2] { + Parameter #0 [ $username ] + Parameter #1 [ $password ] + } + } + + Method [ public method isPersistent ] { + + - Parameters [0] { + } + } + + Method [ public method isPristine ] { + + - Parameters [0] { + } + } + } + } + + Class [ class MemcachedServer ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ public method run ] { + } + + Method [ public method on ] { + } + } + } + + Class [ class MemcachedException extends RuntimeException ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [9] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + } +} + diff --git a/reflection-2.2.0b1 b/reflection-2.2.0b1 deleted file mode 100644 index 4a15c0d..0000000 --- a/reflection-2.2.0b1 +++ /dev/null @@ -1,764 +0,0 @@ -Extension [ extension #148 memcached version 2.2.0b1 ] { - - - INI { - Entry [ memcached.sess_locking ] - Current = '1' - } - Entry [ memcached.sess_consistent_hash ] - Current = '0' - } - Entry [ memcached.sess_binary ] - Current = '0' - } - Entry [ memcached.sess_lock_wait ] - Current = '150000' - } - Entry [ memcached.sess_lock_max_wait ] - Current = '0' - } - Entry [ memcached.sess_lock_expire ] - Current = '0' - } - Entry [ memcached.sess_prefix ] - Current = 'memc.sess.key.' - } - Entry [ memcached.sess_number_of_replicas ] - Current = '0' - } - Entry [ memcached.sess_randomize_replica_read ] - Current = '0' - } - Entry [ memcached.sess_remove_failed ] - Current = '0' - } - Entry [ memcached.sess_connect_timeout ] - Current = '1000' - } - Entry [ memcached.sess_sasl_username ] - Current = '' - } - Entry [ memcached.sess_sasl_password ] - Current = '' - } - Entry [ memcached.compression_type ] - Current = 'fastlz' - } - Entry [ memcached.compression_factor ] - Current = '1.3' - } - Entry [ memcached.compression_threshold ] - Current = '2000' - } - Entry [ memcached.serializer ] - Current = 'igbinary' - } - Entry [ memcached.use_sasl ] - Current = '0' - } - Entry [ memcached.store_retry_count ] - Current = '2' - } - } - - - Classes [3] { - Class [ class Memcached ] { - - - Constants [129] { - Constant [ integer LIBMEMCACHED_VERSION_HEX ] { 16777238 } - Constant [ integer OPT_COMPRESSION ] { -1001 } - Constant [ integer OPT_COMPRESSION_TYPE ] { -1004 } - Constant [ integer OPT_PREFIX_KEY ] { -1002 } - Constant [ integer OPT_SERIALIZER ] { -1003 } - Constant [ integer OPT_STORE_RETRY_COUNT ] { -1005 } - Constant [ integer HAVE_IGBINARY ] { 1 } - Constant [ integer HAVE_JSON ] { 1 } - Constant [ integer HAVE_MSGPACK ] { 1 } - Constant [ integer HAVE_SESSION ] { 1 } - Constant [ integer HAVE_SASL ] { 1 } - Constant [ integer OPT_HASH ] { 2 } - Constant [ integer HASH_DEFAULT ] { 0 } - Constant [ integer HASH_MD5 ] { 1 } - Constant [ integer HASH_CRC ] { 2 } - Constant [ integer HASH_FNV1_64 ] { 3 } - Constant [ integer HASH_FNV1A_64 ] { 4 } - Constant [ integer HASH_FNV1_32 ] { 5 } - Constant [ integer HASH_FNV1A_32 ] { 6 } - Constant [ integer HASH_HSIEH ] { 7 } - Constant [ integer HASH_MURMUR ] { 8 } - Constant [ integer OPT_DISTRIBUTION ] { 9 } - Constant [ integer DISTRIBUTION_MODULA ] { 0 } - Constant [ integer DISTRIBUTION_CONSISTENT ] { 1 } - Constant [ integer DISTRIBUTION_VIRTUAL_BUCKET ] { 6 } - Constant [ integer OPT_LIBKETAMA_COMPATIBLE ] { 16 } - Constant [ integer OPT_LIBKETAMA_HASH ] { 17 } - Constant [ integer OPT_TCP_KEEPALIVE ] { 32 } - Constant [ integer OPT_BUFFER_WRITES ] { 10 } - Constant [ integer OPT_BINARY_PROTOCOL ] { 18 } - Constant [ integer OPT_NO_BLOCK ] { 0 } - Constant [ integer OPT_TCP_NODELAY ] { 1 } - Constant [ integer OPT_SOCKET_SEND_SIZE ] { 4 } - Constant [ integer OPT_SOCKET_RECV_SIZE ] { 5 } - Constant [ integer OPT_CONNECT_TIMEOUT ] { 14 } - Constant [ integer OPT_RETRY_TIMEOUT ] { 15 } - Constant [ integer OPT_DEAD_TIMEOUT ] { 36 } - Constant [ integer OPT_SEND_TIMEOUT ] { 19 } - Constant [ integer OPT_RECV_TIMEOUT ] { 20 } - Constant [ integer OPT_POLL_TIMEOUT ] { 8 } - Constant [ integer OPT_CACHE_LOOKUPS ] { 6 } - Constant [ integer OPT_SERVER_FAILURE_LIMIT ] { 21 } - Constant [ integer OPT_AUTO_EJECT_HOSTS ] { 28 } - Constant [ integer OPT_HASH_WITH_PREFIX_KEY ] { 25 } - Constant [ integer OPT_NOREPLY ] { 26 } - Constant [ integer OPT_SORT_HOSTS ] { 12 } - Constant [ integer OPT_VERIFY_KEY ] { 13 } - Constant [ integer OPT_USE_UDP ] { 27 } - Constant [ integer OPT_NUMBER_OF_REPLICAS ] { 29 } - Constant [ integer OPT_RANDOMIZE_REPLICA_READ ] { 30 } - Constant [ integer OPT_REMOVE_FAILED_SERVERS ] { 35 } - Constant [ integer RES_SUCCESS ] { 0 } - Constant [ integer RES_FAILURE ] { 1 } - Constant [ integer RES_HOST_LOOKUP_FAILURE ] { 2 } - Constant [ integer RES_UNKNOWN_READ_FAILURE ] { 7 } - Constant [ integer RES_PROTOCOL_ERROR ] { 8 } - Constant [ integer RES_CLIENT_ERROR ] { 9 } - Constant [ integer RES_SERVER_ERROR ] { 10 } - Constant [ integer RES_WRITE_FAILURE ] { 5 } - Constant [ integer RES_DATA_EXISTS ] { 12 } - Constant [ integer RES_NOTSTORED ] { 14 } - Constant [ integer RES_NOTFOUND ] { 16 } - Constant [ integer RES_PARTIAL_READ ] { 18 } - Constant [ integer RES_SOME_ERRORS ] { 19 } - Constant [ integer RES_NO_SERVERS ] { 20 } - Constant [ integer RES_END ] { 21 } - Constant [ integer RES_ERRNO ] { 26 } - Constant [ integer RES_BUFFERED ] { 32 } - Constant [ integer RES_TIMEOUT ] { 31 } - Constant [ integer RES_BAD_KEY_PROVIDED ] { 33 } - Constant [ integer RES_STORED ] { 15 } - Constant [ integer RES_DELETED ] { 22 } - Constant [ integer RES_STAT ] { 24 } - Constant [ integer RES_ITEM ] { 25 } - Constant [ integer RES_NOT_SUPPORTED ] { 28 } - Constant [ integer RES_FETCH_NOTFINISHED ] { 30 } - Constant [ integer RES_SERVER_MARKED_DEAD ] { 35 } - Constant [ integer RES_UNKNOWN_STAT_KEY ] { 36 } - Constant [ integer RES_INVALID_HOST_PROTOCOL ] { 34 } - Constant [ integer RES_MEMORY_ALLOCATION_FAILURE ] { 17 } - Constant [ integer RES_CONNECTION_SOCKET_CREATE_FAILURE ] { 11 } - Constant [ integer RES_E2BIG ] { 37 } - Constant [ integer RES_KEY_TOO_BIG ] { 39 } - Constant [ integer RES_SERVER_TEMPORARILY_DISABLED ] { 47 } - Constant [ integer RES_SERVER_MEMORY_ALLOCATION_FAILURE ] { 48 } - Constant [ integer RES_AUTH_PROBLEM ] { 40 } - Constant [ integer RES_AUTH_FAILURE ] { 41 } - Constant [ integer RES_AUTH_CONTINUE ] { 42 } - Constant [ integer RES_PAYLOAD_FAILURE ] { -1001 } - Constant [ integer SERIALIZER_PHP ] { 1 } - Constant [ integer SERIALIZER_IGBINARY ] { 2 } - Constant [ integer SERIALIZER_JSON ] { 3 } - Constant [ integer SERIALIZER_JSON_ARRAY ] { 4 } - Constant [ integer SERIALIZER_MSGPACK ] { 5 } - Constant [ integer COMPRESSION_FASTLZ ] { 2 } - Constant [ integer COMPRESSION_ZLIB ] { 1 } - Constant [ integer GET_PRESERVE_ORDER ] { 1 } - Constant [ integer ON_CONNECT ] { 0 } - Constant [ integer ON_ADD ] { 1 } - Constant [ integer ON_APPEND ] { 2 } - Constant [ integer ON_DECREMENT ] { 3 } - Constant [ integer ON_DELETE ] { 4 } - Constant [ integer ON_FLUSH ] { 5 } - Constant [ integer ON_GET ] { 6 } - Constant [ integer ON_INCREMENT ] { 7 } - Constant [ integer ON_NOOP ] { 8 } - Constant [ integer ON_PREPEND ] { 9 } - Constant [ integer ON_QUIT ] { 10 } - Constant [ integer ON_REPLACE ] { 11 } - Constant [ integer ON_SET ] { 12 } - Constant [ integer ON_STAT ] { 13 } - Constant [ integer ON_VERSION ] { 14 } - Constant [ integer RESPONSE_SUCCESS ] { 0 } - Constant [ integer RESPONSE_KEY_ENOENT ] { 1 } - Constant [ integer RESPONSE_KEY_EEXISTS ] { 2 } - Constant [ integer RESPONSE_E2BIG ] { 3 } - Constant [ integer RESPONSE_EINVAL ] { 4 } - Constant [ integer RESPONSE_NOT_STORED ] { 5 } - Constant [ integer RESPONSE_DELTA_BADVAL ] { 6 } - Constant [ integer RESPONSE_NOT_MY_VBUCKET ] { 7 } - Constant [ integer RESPONSE_AUTH_ERROR ] { 32 } - Constant [ integer RESPONSE_AUTH_CONTINUE ] { 33 } - Constant [ integer RESPONSE_UNKNOWN_COMMAND ] { 129 } - Constant [ integer RESPONSE_ENOMEM ] { 130 } - Constant [ integer RESPONSE_NOT_SUPPORTED ] { 131 } - Constant [ integer RESPONSE_EINTERNAL ] { 132 } - Constant [ integer RESPONSE_EBUSY ] { 133 } - Constant [ integer RESPONSE_ETMPFAIL ] { 134 } - Constant [ boolean GET_ERROR_RETURN_VALUE ] { } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [57] { - Method [ public method __construct ] { - - - Parameters [2] { - Parameter #0 [ $persistent_id ] - Parameter #1 [ $callback ] - } - } - - Method [ public method getResultCode ] { - - - Parameters [0] { - } - } - - Method [ public method getResultMessage ] { - - - Parameters [0] { - } - } - - Method [ public method get ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $cache_cb ] - Parameter #2 [ &$cas_token ] - Parameter #3 [ &$udf_flags ] - } - } - - Method [ public method getByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $cache_cb ] - Parameter #3 [ &$cas_token ] - Parameter #4 [ &$udf_flags ] - } - } - - Method [ public method getMulti ] { - - - Parameters [4] { - Parameter #0 [ array $keys ] - Parameter #1 [ &$cas_tokens ] - Parameter #2 [ $flags ] - Parameter #3 [ &$udf_flags ] - } - } - - Method [ public method getMultiByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ array $keys ] - Parameter #2 [ &$cas_tokens ] - Parameter #3 [ $flags ] - Parameter #4 [ &$udf_flags ] - } - } - - Method [ public method getDelayed ] { - - - Parameters [3] { - Parameter #0 [ array $keys ] - Parameter #1 [ $with_cas ] - Parameter #2 [ $value_cb ] - } - } - - Method [ public method getDelayedByKey ] { - - - Parameters [4] { - Parameter #0 [ $server_key ] - Parameter #1 [ array $keys ] - Parameter #2 [ $with_cas ] - Parameter #3 [ $value_cb ] - } - } - - Method [ public method fetch ] { - - - Parameters [0] { - } - } - - Method [ public method fetchAll ] { - - - Parameters [0] { - } - } - - Method [ public method set ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $expiration ] - Parameter #3 [ $udf_flags ] - } - } - - Method [ public method setByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - Parameter #3 [ $expiration ] - Parameter #4 [ $udf_flags ] - } - } - - Method [ public method touch ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $expiration ] - } - } - - Method [ public method touchByKey ] { - - - Parameters [3] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $expiration ] - } - } - - Method [ public method setMulti ] { - - - Parameters [3] { - Parameter #0 [ array $items ] - Parameter #1 [ $expiration ] - Parameter #2 [ $udf_flags ] - } - } - - Method [ public method setMultiByKey ] { - - - Parameters [4] { - Parameter #0 [ $server_key ] - Parameter #1 [ array $items ] - Parameter #2 [ $expiration ] - Parameter #3 [ $udf_flags ] - } - } - - Method [ public method cas ] { - - - Parameters [5] { - Parameter #0 [ $cas_token ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - Parameter #3 [ $expiration ] - Parameter #4 [ $udf_flags ] - } - } - - Method [ public method casByKey ] { - - - Parameters [6] { - Parameter #0 [ $cas_token ] - Parameter #1 [ $server_key ] - Parameter #2 [ $key ] - Parameter #3 [ $value ] - Parameter #4 [ $expiration ] - Parameter #5 [ $udf_flags ] - } - } - - Method [ public method add ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $expiration ] - Parameter #3 [ $udf_flags ] - } - } - - Method [ public method addByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - Parameter #3 [ $expiration ] - Parameter #4 [ $udf_flags ] - } - } - - Method [ public method append ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $expiration ] - } - } - - Method [ public method appendByKey ] { - - - Parameters [4] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - Parameter #3 [ $expiration ] - } - } - - Method [ public method prepend ] { - - - Parameters [3] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $expiration ] - } - } - - Method [ public method prependByKey ] { - - - Parameters [4] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - Parameter #3 [ $expiration ] - } - } - - Method [ public method replace ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - Parameter #2 [ $expiration ] - Parameter #3 [ $udf_flags ] - } - } - - Method [ public method replaceByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - Parameter #3 [ $expiration ] - Parameter #4 [ $udf_flags ] - } - } - - Method [ public method delete ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $time ] - } - } - - Method [ public method deleteMulti ] { - - - Parameters [2] { - Parameter #0 [ $keys ] - Parameter #1 [ $time ] - } - } - - Method [ public method deleteByKey ] { - - - Parameters [3] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $time ] - } - } - - Method [ public method deleteMultiByKey ] { - - - Parameters [3] { - Parameter #0 [ $server_key ] - Parameter #1 [ $keys ] - Parameter #2 [ $time ] - } - } - - Method [ public method increment ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $offset ] - Parameter #2 [ $initial_value ] - Parameter #3 [ $expiry ] - } - } - - Method [ public method decrement ] { - - - Parameters [4] { - Parameter #0 [ $key ] - Parameter #1 [ $offset ] - Parameter #2 [ $initial_value ] - Parameter #3 [ $expiry ] - } - } - - Method [ public method incrementByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $offset ] - Parameter #3 [ $initial_value ] - Parameter #4 [ $expiry ] - } - } - - Method [ public method decrementByKey ] { - - - Parameters [5] { - Parameter #0 [ $server_key ] - Parameter #1 [ $key ] - Parameter #2 [ $offset ] - Parameter #3 [ $initial_value ] - Parameter #4 [ $expiry ] - } - } - - Method [ public method addServer ] { - - - Parameters [3] { - Parameter #0 [ $host ] - Parameter #1 [ $port ] - Parameter #2 [ $weight ] - } - } - - Method [ public method addServers ] { - - - Parameters [1] { - Parameter #0 [ array $servers ] - } - } - - Method [ public method getServerList ] { - - - Parameters [0] { - } - } - - Method [ public method getServerByKey ] { - - - Parameters [1] { - Parameter #0 [ $server_key ] - } - } - - Method [ public method resetServerList ] { - - - Parameters [0] { - } - } - - Method [ public method quit ] { - - - Parameters [0] { - } - } - - Method [ public method flushBuffers ] { - - - Parameters [0] { - } - } - - Method [ public method getLastErrorMessage ] { - - - Parameters [0] { - } - } - - Method [ public method getLastErrorCode ] { - - - Parameters [0] { - } - } - - Method [ public method getLastErrorErrno ] { - - - Parameters [0] { - } - } - - Method [ public method getLastDisconnectedServer ] { - - - Parameters [0] { - } - } - - Method [ public method getStats ] { - - - Parameters [0] { - } - } - - Method [ public method getVersion ] { - - - Parameters [0] { - } - } - - Method [ public method getAllKeys ] { - - - Parameters [0] { - } - } - - Method [ public method flush ] { - - - Parameters [1] { - Parameter #0 [ $delay ] - } - } - - Method [ public method getOption ] { - - - Parameters [1] { - Parameter #0 [ $option ] - } - } - - Method [ public method setOption ] { - - - Parameters [2] { - Parameter #0 [ $option ] - Parameter #1 [ $value ] - } - } - - Method [ public method setOptions ] { - - - Parameters [1] { - Parameter #0 [ $options ] - } - } - - Method [ public method setBucket ] { - - - Parameters [3] { - Parameter #0 [ $host_map ] - Parameter #1 [ $forward_map ] - Parameter #2 [ $replicas ] - } - } - - Method [ public method setSaslAuthData ] { - - - Parameters [2] { - Parameter #0 [ $username ] - Parameter #1 [ $password ] - } - } - - Method [ public method isPersistent ] { - - - Parameters [0] { - } - } - - Method [ public method isPristine ] { - - - Parameters [0] { - } - } - } - } - - Class [ class MemcachedServer ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [2] { - Method [ public method run ] { - } - - Method [ public method on ] { - } - } - } - - Class [ class MemcachedException extends RuntimeException ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - } - - - Methods [9] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - } -} - -- cgit