Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Item expiration question

1 reply [Last post]
  • Login or register to post comments
Mon, 12/13/2010 - 10:48
bryan
Offline
Joined: 12/08/2010
Groups: None

 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.

 

Thanks,

Bryan Call

 

 

Top
  • Login or register to post comments
Mon, 12/13/2010 - 12:00
bhawana@membase
Offline
Joined: 10/29/2010
Groups: None

Bryan,

You are correct the ability to set the expiration without setting the value again is not supported in Membase - you will have to set the value with the new expiration again.

There is a 'touch' feature on the roadmap that will provide the ability to set expiration without setting the value.

Please let us know if you have more questions.

 

Thanks

bhawana

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker