0

com.twitter.finagle.memcached.Client defined the set method as

set(key: String, flags: Int, expiry: Time, value: T): Future[Unit]

What should the flags be? Is there any documentation available for this?

Josh
  • 12,448
  • 10
  • 74
  • 118
jordan
  • 711
  • 1
  • 8
  • 17

1 Answers1

3

from: http://docs.libmemcached.org/memcached_set.html

“flags” is a 4byte space that is stored alongside of the main value. Many sub libraries make use of this field, so in most cases users should avoid making use of it.

Steve Gury
  • 15,158
  • 6
  • 38
  • 42