1Low level Interfaceπ i
At the moment, only a low-level interface is provided.
Identifies memcached pool structures.
Establishes TCP connections to the specified servers at the respective ports. However, only the first connection is used.
This function should be modified to support UDP connections and its internals should be adapted to use all connections in the recommended way.
Corresponds to
bytes? guaranteed to be 8 bytes long.
The null CAS, suitable for use when the CAS is unknown or when you don’t care.
Retrieves the key’s value and CAS.
Sets the key to the value with the expiration time if the CAS is still the same, returning the new CAS.
Sets the key to the value with the expiration time if it is not bound, returning the new CAS.
Sets the key to the value with the expiration time if the CAS is still the same and it is bound, returning the new CAS.
Deletes the key if the CAS is still the same.
[ #:amountamt
#:initialinit
#:expirationexp
Increments the key’s value by the amount with the expiration time if the CAS is still the same and it is bound, returning the new value as an integer.
[ #:amountamt
#:initialinit
#:expirationexp
Decrements the key’s value by the amount with the expiration time if the CAS is still the same and it is bound, returning the new value as an integer.
These two functions have a more restrictive contract on the initial value than the API because I do not understand them enough to decide if the contract should be uint8? or value? .
Appends the value to the key’s current value if the CAS is still the same, returning the new CAS.
Prepends the value to the key’s current value if the CAS is still the same, returning the new CAS.