title: memcached (spymemcached) counters and expiry time
body: <p>can anybody tell me (or point to some documentation that documents) how memcached counters work? Specifically: how do they expire? I'm using the java spymemcached client. </p>
  
  <p>The method </p>
  
  <pre><code>net.spy.memcached.MemcachedClient.incr(String key, int by, long def, int exp) 
  </code></pre>
  
  <p>takes a parameter "exp" described as "the expiration of this object"</p>
  
  <p>Does that mean each individual call to the counter has its own expiry time? Or does calling incr bump the expiry time for the key? </p>
  
  <p>Also, shouldn't there be a method to get a counter value? Or should I call incr with an increment of 0? </p>