MemCacheClient.h File Reference

Basic memcached client. More...

#include <string>
#include <vector>
#include "ReadWriteBuffer.h"

Go to the source code of this file.

Classes

class  MemCacheClient
 Public client interface for memcached. More...
struct  MemCacheClient::MemRequest
 Input and output structure for most requests to the server. More...
struct  MemCacheClient::ConsistentHash
 Maintain the N:1 hash key to server relationship used for consistent hashing. More...

Enumerations

enum  MCResult {
  MCERR_OK = 0, MCERR_NOREPLY = 1, MCERR_NOTSTORED = 2, MCERR_NOTFOUND = 3,
  MCERR_NOSERVER = -1
}
 Result code for requests to a server. More...


Detailed Description

Basic memcached client.

Version:
1.0

Definition in file MemCacheClient.h.


Enumeration Type Documentation

enum MCResult

Result code for requests to a server.

Success codes are greater or equal to 0. Failure codes are less than 0.

Enumerator:
MCERR_OK  Success.
MCERR_NOREPLY  Success assumed (no reply requested).
MCERR_NOTSTORED  Success but item not stored (see memcached docs).
MCERR_NOTFOUND  Success but item not found (see memcached docs).
MCERR_NOSERVER  Failure, connection error with server.

Definition at line 108 of file MemCacheClient.h.


Generated on Tue Jun 3 17:24:05 2008 for MemCacheClient by  doxygen 1.5.6