Item expiration question
As I understand it there are two item expiration options in membase:
1. Absolute time expiration
2. Relative time expiration (expire in X seconds from now)
I'm wanting to implement more of a sliding scale for expiration. Like relative time expiration but if the item gets used keep extending it another 10 minutes or whatever. From my understanding I will need to do some of this work myself, it isn't a default option. Is there an easy way to extend the expiration of an item or will I just need to set it again with a new expiration to accomplish my goal? In my case the value won't change only the expiration but I suppose just calling set again with a new expiration would work. It would be ideal though not to have to reset the value since it isn't really changing.