arcus client
arcus key sanitizer
set this to true to use Spymemcached's serialization mechanism to maintain compatibility with ScalaCache 0.7.x or earlier.
Remove the given key and its associated value from the cache, if it exists.
Remove the given key and its associated value from the cache, if it exists. If the key is not in the cache, do nothing.
cache key
Convert an optional Duration
to an int suitable for passing to Memcached.
Convert an optional Duration
to an int suitable for passing to Memcached.
From the Memcached protocol spec:
The actual value sent may either be Unix time (number of seconds since January 1, 1970, as a 32-bit value), or a number of seconds starting from current time. In the latter case, this number of seconds may not exceed 60*60*24*30 (number of seconds in 30 days); if the number sent by a client is larger than that, the server will consider it to be real Unix time value rather than an offset from current time.
optional TTL
corresponding Memcached expiry
Wrapper around arcus client