1MEMCACHED_FLUSH(3)           libmemcached-awesome           MEMCACHED_FLUSH(3)
2
3
4

NAME

6       memcached_flush - libmemcached Documentation
7

SYNOPSIS

9       #include <libmemcached/memcached.h>
10              Compile and link with -lmemcached
11
12       memcached_return_t  memcached_flush(memcached_st  *ptr,  time_t expira‐
13       tion)
14
15              Parameters
16
17ptr -- pointer to an initialized memcached_st struct
18
19expiration -- expiration as a unix timestamp or as rel‐
20                       ative expiration time in seconds
21
22              Returns
23                     memcached_return_t indicating success
24

DESCRIPTION

26       memcached_flush()  is  used  to wipe clean the contents of memcached(1)
27       servers.  It will either do this  immediately  or  expire  the  content
28       based  on  the  expiration  time  passed to the method (a value of zero
29       causes an immediate flush). The operation is  not  atomic  to  multiple
30       servers,  just  atomic  to  a single server. That is, it will flush the
31       servers in the order that they were added.
32

RETURN VALUE

34       A value of type memcached_return_t is returned.  On success that  value
35       will  be MEMCACHED_SUCCESS.  Use memcached_strerror() to translate this
36       value to a printable string.
37

SEE ALSO

39       memcached(1) libmemcached(3) memcached_strerror(3)
40
41
42
43
441.1                              Sep 20, 2021               MEMCACHED_FLUSH(3)
Impressum