[MEMCACHED] Is there a way to get the expiration of a key? [message #175000] |
Tue, 02 August 2011 12:43 |
Pierre GANDON
Messages: 4 Registered: August 2011
Karma: 0
|
Junior Member |
|
|
Hi all,
I'm trying to find a way with memcached to get the expiration value of
a key. When you set a value, you can set this expirartion to a
timestamp in the future. What I want is to get this value related to a
key, to know until when a key is valid, but I couldn't find anything in
Memcached documentaion which can do this.
Thank you in advance for your help
Regards
Pierre
|
|
|
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175014 is a reply to message #175000] |
Wed, 03 August 2011 13:44 |
Pierre GANDON
Messages: 4 Registered: August 2011
Karma: 0
|
Junior Member |
|
|
On 2011-08-02 12:43:49 +0000, Pierre GANDON said:
> Hi all,
>
> I'm trying to find a way with memcached to get the expiration value of
> a key. When you set a value, you can set this expirartion to a
> timestamp in the future. What I want is to get this value related to a
> key, to know until when a key is valid, but I couldn't find anything in
> Memcached documentaion which can do this.
>
> Thank you in advance for your help
>
> Regards
>
> Pierre
Any clue about that one?
Thanks again
P
|
|
|
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175015 is a reply to message #175014] |
Wed, 03 August 2011 13:52 |
A.Reader
Messages: 15 Registered: December 2010
Karma: 0
|
Junior Member |
|
|
On Wed, 3 Aug 2011 15:44:59 +0200,
Pierre GANDON <pedroleouf(at)gmail(dot)com> wrote:
> On 2011-08-02 12:43:49 +0000, Pierre GANDON said:
>
>> Hi all,
>>
>> I'm trying to find a way with memcached to get the expiration value of
>> a key. When you set a value, you can set this expirartion to a
>> timestamp in the future. What I want is to get this value related to a
>> key, to know until when a key is valid, but I couldn't find anything in
>> Memcached documentaion which can do this.
>>
>> Thank you in advance for your help
>>
>> Regards
>>
>> Pierre
>
> Any clue about that one?
>
> Thanks again
>
> P
This group might not be the best place to get an answer. Have
you tried http://code.google.com/p/memcached/wiki/NewStart ?
|
|
|
|
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175019 is a reply to message #175015] |
Wed, 03 August 2011 14:09 |
Pierre GANDON
Messages: 4 Registered: August 2011
Karma: 0
|
Junior Member |
|
|
On 2011-08-03 13:52:40 +0000, A.Reader said:
> On Wed, 3 Aug 2011 15:44:59 +0200,
> Pierre GANDON <pedroleouf(at)gmail(dot)com> wrote:
>
>> On 2011-08-02 12:43:49 +0000, Pierre GANDON said:
>>
>>> Hi all,
>>>
>>> I'm trying to find a way with memcached to get the expiration value of
>>> a key. When you set a value, you can set this expirartion to a
>>> timestamp in the future. What I want is to get this value related to a
>>> key, to know until when a key is valid, but I couldn't find anything in
>>> Memcached documentaion which can do this.
>>>
>>> Thank you in advance for your help
>>>
>>> Regards
>>>
>>> Pierre
>>
>> Any clue about that one?
>>
>> Thanks again
>>
>> P
>
> This group might not be the best place to get an answer. Have
> you tried http://code.google.com/p/memcached/wiki/NewStart ?
Thanks! will have a look there too!
P
|
|
|
Re: [MEMCACHED] Is there a way to get the expiration of a key? [message #175021 is a reply to message #175018] |
Wed, 03 August 2011 16:01 |
Pierre GANDON
Messages: 4 Registered: August 2011
Karma: 0
|
Junior Member |
|
|
On 2011-08-03 13:59:06 +0000, A.Reader said:
> On Wed, 03 Aug 2011 09:52:40 -0400,
> I, brain-dead, wrote
>
>> This group might not be the best place to get an answer. Have
>> you tried http://code.google.com/p/memcached/wiki/NewStart ?
>
> not having read carefully enough to see
>
>>> but I couldn't find anything in
>>>> Memcached documentaion which can do this.
>
> Apologies!
Yeah I was releasing that I went though these pages while doing some
research in google ;-)
Anyway, I'll look into it whne I'll have time, maybe I'll have to patch
the php lib in case it's in memcached doc but not in the php lib doc...
P
|
|
|