libmemcached Get Functions-opracowanie

Nasza ocena:

3
Wyświetleń: 434
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
libmemcached Get Functions-opracowanie - strona 1

Fragment notatki:

libmemcached Get Functions
The libmemcached functions provide both direct access to a single item, and a multiple-key request
mechanism that provides much faster responses when fetching a large number of keys simultaneously.
The main get-style function, which is equivalent to the generic get() is memcached_get(). This
function returns a string pointer, pointing to the value associated with the specified key.
char *memcached_get (memcached_st *ptr,
const char *key, size_t key_length,
size_t *value_length,
uint32_t *flags,
memcached_return *error);
A multi-key get, memcached_mget(), is also available. Using a multiple key get operation is much
quicker to do in one block than retrieving the key values with individual calls to memcached_get(). To
start the multi-key get, call memcached_mget():
memcached_return
... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz