String-like Memcache Value Object¶
-
class
memcached2.
ValueSuperStr
¶ Wrapper around Memcache value results.
This acts as a string normally, containing the value read from the server. However, it is augmented with additional attributes representing additional data received from the server: flags, key, and cas_unique (which may be None if it was not requested from the server).
If this is constructed with the memcache
ServerConnection
instance, then additional methods may be used to update the value via this object. If cas_unique is given, these updates are done using the CAS value.