2 +--------------------------------------------------------------------+
3 | libmemcached-awesome - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020-2021 Michael Wallner https://awesome.co/ |
13 +--------------------------------------------------------------------+
18 enum memcached_behavior_t
{
19 MEMCACHED_BEHAVIOR_NO_BLOCK
,
20 MEMCACHED_BEHAVIOR_TCP_NODELAY
,
21 MEMCACHED_BEHAVIOR_HASH
,
22 MEMCACHED_BEHAVIOR_KETAMA
,
23 MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE
,
24 MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE
,
25 MEMCACHED_BEHAVIOR_CACHE_LOOKUPS
,
26 MEMCACHED_BEHAVIOR_SUPPORT_CAS
,
27 MEMCACHED_BEHAVIOR_POLL_TIMEOUT
,
28 MEMCACHED_BEHAVIOR_DISTRIBUTION
,
29 MEMCACHED_BEHAVIOR_BUFFER_REQUESTS
,
30 MEMCACHED_BEHAVIOR_USER_DATA
,
31 MEMCACHED_BEHAVIOR_SORT_HOSTS
,
32 MEMCACHED_BEHAVIOR_VERIFY_KEY
,
33 MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT
,
34 MEMCACHED_BEHAVIOR_RETRY_TIMEOUT
,
35 MEMCACHED_BEHAVIOR_KETAMA_WEIGHTED
,
36 MEMCACHED_BEHAVIOR_KETAMA_HASH
,
37 MEMCACHED_BEHAVIOR_BINARY_PROTOCOL
,
38 MEMCACHED_BEHAVIOR_SND_TIMEOUT
,
39 MEMCACHED_BEHAVIOR_RCV_TIMEOUT
,
40 MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT
,
41 MEMCACHED_BEHAVIOR_IO_MSG_WATERMARK
,
42 MEMCACHED_BEHAVIOR_IO_BYTES_WATERMARK
,
43 MEMCACHED_BEHAVIOR_IO_KEY_PREFETCH
,
44 MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY
,
45 MEMCACHED_BEHAVIOR_NOREPLY
,
46 MEMCACHED_BEHAVIOR_USE_UDP
,
47 MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS
,
48 MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS
,
49 MEMCACHED_BEHAVIOR_RANDOMIZE_REPLICA_READ
,
50 MEMCACHED_BEHAVIOR_CORK
,
51 MEMCACHED_BEHAVIOR_TCP_KEEPALIVE
,
52 MEMCACHED_BEHAVIOR_TCP_KEEPIDLE
,
53 MEMCACHED_BEHAVIOR_LOAD_FROM_FILE
,
54 MEMCACHED_BEHAVIOR_REMOVE_FAILED_SERVERS
,
55 MEMCACHED_BEHAVIOR_DEAD_TIMEOUT
,
56 MEMCACHED_BEHAVIOR_SERVER_TIMEOUT_LIMIT
,
57 MEMCACHED_BEHAVIOR_MAX
61 typedef enum memcached_behavior_t memcached_behavior_t
;