Controlling libmemcached Behaviors-opracowanie

Nasza ocena:

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

Pobierz ten dokument za darmo

Podgląd dokumentu
Controlling libmemcached Behaviors-opracowanie - strona 1

Fragment notatki:

Controlling libmemcached Behaviors
The behavior of libmemcached can be modified by setting one or more behavior flags. These can
either be set globally, or they can be applied during the call to individual functions. Some behaviors
also accept an additional setting, such as the hashing mechanism used when selecting servers.
To set global behaviors:
memcached_return
memcached_behavior_set (memcached_st *ptr,
memcached_behavior flag,
uint64_t data);
To get the current behavior setting:
uint64_t
memcached_behavior_get (memcached_st *ptr,
memcached_behavior flag);
The following table describes libmemcached behavior flags.
... zobacz całą notatkę

Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz