Tyson Andre
c23ea262f3
Document GET_EXTENDED flag. Add/rename other missing/misnamed constants. ( #335 )
2017-04-30 08:15:36 -07:00
Aaron Stone
115cc0a2c4
Add API entries for flushBuffers() and getAllKeys() ( #316 )
2017-02-07 12:34:54 +00:00
Timandes White
b15936c0c0
Add optional parameter 'type' for method 'getStats' ( #298 )
2017-01-22 02:34:50 +00:00
Tyson Andre
d9dea45e97
Add release notes about session protocol,get and getMulti changing ( #271 )
...
And update the memcached-api.php file for the branch.
2017-01-20 05:29:19 -08:00
Nicolas Van Eenaeme
77a8089666
Added the OPT_SERVER_TIMEOUT_LIMIT behaviour.
...
The option MEMCACHED_BEHAVIOR_SERVER_TIMEOUT_LIMIT was added in libmemcached 1.0.18 (0x01000018).
For more information see https://answers.launchpad.net/libmemcached/+question/239497
The merge request for libmemcached:
https://code.launchpad.net/~493pocbrcycmdw7yksonho9o2qzz-o18bz-d18ecat4t1b76tkfi3vttrkfngli/libmemcached/feature-server_timeout
2014-03-12 15:42:28 +01:00
Mikko
80253e82c4
Added Memcached::setBucket
2013-11-18 02:14:35 +08:00
Mikko
6d19890072
Merge branch 'master' of github.com:bpospichil/php-memcached
2013-11-17 23:25:04 +08:00
Nicolas Van Eenaeme
426a3026cd
Merge remote-tracking branch 'parent/master' into feature-udf
2013-11-07 22:50:43 +01:00
Nicolas Van Eenaeme
81971e7abe
updated memcached documentation
2013-11-07 00:41:37 +01:00
Mikko Koppanen
9ec6f74cff
Merge pull request #61 from rynop/master
...
throw warning when ascii is used with *_with_initial() funcs
2013-10-17 23:51:34 -07:00
Ilia Alshanetsky
bf4f978db8
Merge pull request #42 from poison/master
...
Fixed getServerByKey function
2013-03-03 07:06:03 -08:00
ryanp
f176c203a0
update api
2013-01-23 09:51:54 -06:00
David Terei
9cb3089d4f
Add in missing setSaslAuthData to api doc.
2013-01-03 23:39:17 +11:00
Nicolas Van Eenaeme
30d9031620
Added MEMCACHED_BEHAVIOR_DEAD_TIMEOUT class constant 'OPT_DEAD_TIMEOUT' (new in 1.0.3)
2012-11-14 22:13:43 +01:00
Nicolas Van Eenaeme
d9a2e8b6c3
Added 4 functions to further debug issues and error codes in a multi-server environment:
...
getLastErrorMessage()
getLastErrorCode()
getLastErrorErrno()
getLastDisconnectedServer()
2012-11-13 00:14:20 +01:00
bruno
0c7b569adc
Added virtual buckets support by implementation of memcached_bucket_set bindings.
2012-04-23 19:49:57 -03:00
Jan Lehnardt
494f2c14be
Added support for TOUCH.
...
memcached_touch($key, $expiration = 0);
memcached_touch_by_key($key, $server_key, $expiration = 0);
$m->touch($key, $expiration = 0);
$m->touchByKey($key, $expiration = 0);
Throws an E_WARNING if called on connections with the text protocol.
2011-06-16 15:33:06 +02:00
Mikko Koppanen
73e30fecf9
Added callback when a new object is created. This eases up adding servers to a persistent object. See tests/invoke_callback.phpt
2010-10-12 17:20:56 +01:00
Mikko Koppanen
19a7c426ee
added missing constant
2010-02-05 15:01:29 +00:00
Teddy Grenman
90a5020fda
Update api docs.
2009-12-29 12:24:09 +02:00
Teddy Grenman
8cad643f05
Add --enable-memcached-get-nulls to configure.
...
This options changes the behaviour of failing get requests. If a key
is not found in memcached, then the return value is set to null instead
of false. This only affects simple get and delayed fetch.
2009-11-30 13:09:24 +02:00
Teddy Grenman
85ba5125c9
Add isPristine method.
2009-11-30 13:09:24 +02:00
Teddy Grenman
682de86552
Add isPersistent method.
2009-11-30 13:09:24 +02:00
Andrei Zmievski
cf48ff89b0
Misc
2009-08-17 11:35:08 -07:00
Andrei Zmievski
7ca7a878d3
Release 1.0.0.
2009-07-07 12:19:18 -07:00
Andrei Zmievski
b57ea9d51e
Merge a number of patches.
...
libmemcached may return NULL as a result if the length of the value is 0.
Make zval_from_payload defensive accept NULL as payload
Fixed memcached-api.php to match get and get by key cast token parameter.
Separated CAS tests, and new tests.
2009-06-01 13:03:11 -07:00
Andrei Zmievski
19001d0627
Implement "preserve order" option for multi-gets.
2009-06-01 12:15:38 -07:00
Chris Goffinet
6ea7695d08
Added preserve_order (boolean) to getMulti. This will return an assoc array back in same order as the keys were requested. If the value is not found, a NULL is set for that key.
...
Signed-off-by: Andrei Zmievski <andrei@gravitonic.com >
2009-06-02 02:55:58 +08:00
Andrei Zmievski
c13a7df7cd
Forgot getStats().
2009-02-06 10:52:03 -08:00
andrei
79100dee00
Various fixes.
...
- Rename certain parameters in the API to be more clear.
- Allow only strings as the append/prepend value.
- Remove expiration parameter from append/prepend.
2009-02-04 00:34:31 +00:00
andrei
b9788efb84
Implement addServers() method.
2009-02-02 21:18:44 +00:00
Andrei Zmievski
93f1bc790c
Clean up API.
2009-01-15 20:04:01 -08:00
Andrei Zmievski
efa8480807
Cannot have cache callback for multigets.
2009-01-15 13:18:14 -08:00
Andrei Zmievski
4652de7c93
Fix unsetting of prefix key option.
2009-01-12 23:52:35 -08:00
Andrei Zmievski
62c49b224e
More refactoring and addin arginfo.
...
Got rid of getLastTokens(). They are not returned similar to
preg_match(), if you provide a parameter.
2009-01-08 05:18:13 -08:00
Andrei Zmievski
d4fd981807
Implement get() and getBykey().
...
CAS support TBD.
2009-01-05 12:29:41 -08:00
Andrei Zmievski
0cf10b9811
Register remaining class methods.
2008-12-22 23:46:09 -08:00
Andrei Zmievski
db23d6e5bd
Register constants.
2008-12-22 16:18:29 -08:00
Andrei Zmievski
730a024481
Implement persistency support.
2008-12-20 20:10:27 -08:00
Andrei Zmievski
79db1e4439
First import
2008-12-14 10:08:59 -08:00