That's handy. Am I missing a way to get the metadata about the object when I get the object so I know when it is supposed to expire?
On Tue, Nov 25, 2008 at 12:02 PM, steve.yen <[EMAIL PROTECTED]> wrote: > > For upcoming versions, both the binary protocol and the proposed > pluggable storage engine interface have an expiration field as part of > incr/decr. > > http://code.google.com/p/memcached/wiki/MemcacheBinaryProtocol > http://code.google.com/p/memcached/wiki/EngineInterface > > But, client language wrappers will have to be updated to expose incr/ > decr expiration. > > steve > > On Nov 25, 1:16 am, Masaru Yokoi <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I want to update exptime of stored item in memcached to extend > > lifetime of datum when increment value. I read document of protocol > > and source code, I could not find the way to update exptime. > > > > I thought to execute "append" or "prepend" command with exptime > > argument, zero length value. But argument "extime" of append/prepend > > command is not accepted by memcached such as following in > > "protocols.txt". > > > > The append and prepend commands do not accept flags or exptime. > > They update existing data portions, and ignore new flag and exptime > > settings. > > > > If the append/prepend command accept... > > > > I think some way to solve it, I change memcached as following. > > > > - Extend optional argument "exptime" for "incr". > > - Add commnad "exptime" > > > > How do I do? > -- "If you see a whole thing - it seems that it's always beautiful. Planets, lives... But up close a world's all dirt and rocks. And day to day, life's a hard job, you get tired, you lose the pattern." Ursula K. Le Guin http://www.finsel.com/words,-words,-words.aspx (My blog) - http://www.finsel.com/photo-gallery.aspx (My Photogallery) - http://www.reluctantdba.com/dbas-and-programmers/blog.aspx (My Professional Blog)
