1MEMCACHED_DELETE_BY_KEY(3)       libmemcached       MEMCACHED_DELETE_BY_KEY(3)
2
3
4

NAME

6       memcached_delete_by_key - libmemcached Documentation
7

SYNOPSIS

9       #include <libmemcached/memcached.h>
10
11       memcached_return_t memcached_delete(memcached_st *ptr, const char *key,
12       size_t key_length, time_t expiration)
13
14       memcached_return_t   memcached_delete_by_key(memcached_st *ptr,   const
15       char *group_key,      size_t group_key_length,     const     char *key,
16       size_t key_length, time_t expiration)
17
18       Compile and link with -lmemcached
19

DESCRIPTION

21       memcached_delete()   is   used   to   delete    a    particular    key.
22       memcached_delete_by_key()  works the same, but it takes a master key to
23       find the given value.
24
25       Expiration works by placing the item into a delete queue,  which  means
26       that  it  won't  be  possible  to retrieve it by the "get" command. The
27       "add" and "replace" commands with this key will also  fail  (the  "set"
28       command  will  succeed,  however).  After  the time passes, the item is
29       finally deleted from server memory.
30
31       Please note the the Danga memcached server removed tests for expiration
32       in the 1.4 version.
33

RETURN

35       A  value  of  type memcached_return_t is returned On success that value
36       will be MEMCACHED_SUCCESS.  Use memcached_strerror() to translate  this
37       value to a printable string.
38
39       If  you  are  using  the non-blocking mode of the library, success only
40       means that the message was queued for delivery.
41

HOME

43       To find out more information please check: http://libmemcached.org/
44

AUTHOR

46       Brian Aker, <brian@tangent.org>
47

SEE ALSO

49       memcached(1) libmemcached(3) memcached_strerror(3)
50

AUTHOR

52       Brian Aker
53
55       2011-2013, Brian Aker DataDifferential, http://datadifferential.com/
56
57
58
59
601.0.16                         January 31, 2013     MEMCACHED_DELETE_BY_KEY(3)
Impressum