Welcome to the libmemcached documentation¶
-Libmemcached¶
+libmemcached Manual¶
+libmemcached
is an open source C/C++ client library and tools for the
+memcached server (http://memcached.org/). It has been designed to be light on
+memory usage, thread safe, and provide full access to server side methods.
Basics
Working with Data
--
-
- Incrementing and Decrementing Values -
- Deleting data from a server -
- Determine if a keys exists. -
- Flushing client buffers -
- Wiping clean the contents of a server -
- Retrieving data from the server -
- Working with result sets -
- Store, replace, add, or atomically add data to the server -
- Appending or Prepending to data on the server -
- Working with data on the server in an atomic fashion + +
- Working with Data -
Advanced Topics
--
-
- Set encryption key -
- Modifying how the driver behaves -
- Setting callbacks -
- Dumping data from a server -
- Generating hash values directly -
- Use custom allocators for embedded usage -
- Disconnecting a client from a server -
- Error Codes (memcached_return_t) -
- SASL support -
- Managing lists of servers -
- Manipulate the server information stored in memcached_st -
- Converting Errors, memcached_return_t, to strings -
- Client Error messages -
- Storing custom user information in the client. -
- Setting the verbosity of a server -
- Getting version information about the client and server -
- DEFAULTS + +
- Messages and Errors -
Interface Versions
-Deprecated Functions
-Platform Specifics
-Deriving Statistics from a Server
-Libmemcachedutil
- -Client Applications
--
-
- memcapable - Checking a Memcached server capabilities and compatibility -
- memcat - âcatâ data from a server -
- memcp - Copy data to a server -
- memdump - Dumping your server -
- memerror - translate an error code to a string -
- memflush - flush all data from a server -
- memrm - Remove data from a server -
- memslap - Load testing and benchmarking a server -
- memaslap - Load testing and benchmarking a server -
- memstat - Gather statistics from a server -
- memexist - Check for the existence of a key -
- memparse - Parse an option string -
- memping - Test to see if a server is available. -
- memtouch - Touches a key. + +
- Deprecated Functionality + +
-
+
- memexist â Check for the existence of a key +
- memcat â "cat" data from a server +
- memcp â "cp" files to a server +
- memtouch â "touch" a key +
- memrm â "rm" a key +
- memaslap - Load testing and benchmarking a server +
- memslap - Load testing and benchmarking a server +
- memping â Ping a server +
- memstat â Gather statistics from a server +
- memerror â Translate libmemcached error codes +
- memparse â Parse and validate an option string +
- memcapable â Check a server's capabilities and compatibility +
- memdump â Dump a server's data +
- memflush â Flush a server (erase all cached data) +