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)