mail from Jakub
Hi Dennis!
I wonder if you can extend Xmemcached client API
(net.rubyeye.xmemcached.MemcachedClient) and add following methods:
* long decr(String key, long delta, long initValue, long timeout, int exp) throws TimeoutException, InterruptedException, MemcachedException
* long incr(String key, long delta, long initValue, long timeout, int exp) throws TimeoutException, InterruptedException, MemcachedException
Those methods will allow me to set expiration time on new created counter, they
can by easy implemented by adding exp parameter to 'sendIncrOrDecrCommand'
method and use it in 'add' method.
Having those method will help me to easily migrate from spymemcached to
xmemcached.
Best regards,
Jakub
Original issue reported on code.google.com by killme2...@gmail.com on 27 Oct 2010 at 6:52
Original issue reported on code.google.com by
killme2...@gmail.com
on 27 Oct 2010 at 6:52