Couchbase C Client
2.5.6
|
Go to the source code of this file.
Data Structures | |
struct | lcb_cntl_rdballocfactory |
Structure being used because function pointers can't technically be cast to void*. More... | |
struct | lcb_cntl_server_t.v.v1 |
Current information here. More... | |
Macros | |
#define | LCB_CNTL_SERVER_COMMON_FIELDS |
#define | LCB_CNTL_MEMDNODE_INFO |
#define | LCB_CNTL_CONFIGNODE_INFO |
#define | LCB_CNTL_IOPS_DEFAULT_TYPES |
#define | LCB_CNTL_CONFIG_HTTP_NODES |
#define | LCB_CNTL_CONFIG_CCCP_NODES |
#define | LCB_CNTL_CONFIG_ALL_NODES |
#define | LCB_CNTL_REINIT_CONNSTR |
#define | LCB_CNTL_COMPRESSION_OPTS |
Control how the library handles compression and deflation to and from the server. More... | |
#define | LCB_CNTL_RDBALLOCFACTORY |
#define | LCB_CNTL_IP6POLICY |
IPv4/IPv6 selection policy. More... | |
#define | LCB_CNTL_VBGUESS_PERSIST |
Persist heuristic vbucket information across updates. More... | |
#define | LCB_CNTL_UNSAFE_OPTIMIZE |
#define | LCB_CNTL_TCP_NODELAY |
#define | LCB_CNTL_KVTIMINGS |
Typedefs | |
typedef struct rdb_ALLOCATOR *(* | lcb_RDBALLOCFACTORY) (void) |
Enumerations | |
enum | lcb_COMPRESSOPTS |
Options for how to handle compression. More... | |
enum | lcb_ipv6_t |
struct lcb_cntl_rdballocfactory |
struct lcb_cntl_server_t.v.v1 |
#define LCB_CNTL_COMPRESSION_OPTS |
Control how the library handles compression and deflation to and from the server.
Starting in Couchbase Server 3.0, compression can optionally be applied to incoming and outcoming data. For incoming (i.e. GET
requests) the data may be received in compressed format and then allow the client to inflate the data upon receipt. For outgoing (i.e. SET
requests) the data may be compressed on the client side and then be stored and recognized on the server itself.
The default behavior is to transparently handle compression for both incoming and outgoing data.
Note that if the lcb_STORECMDv0::datatype field is set with compression flags, the data will never be compressed by the library as this is an indication that it is already compressed.
Modes | Arg |
---|---|
Get, Set | int* (value is one of lcb_COMPRESSOPTS) |
#define LCB_CNTL_RDBALLOCFACTORY |
src/rdb
.Mode | Arg |
---|---|
Set, Get | lcb_cntl_rdballocfactory* |
#define LCB_CNTL_IP6POLICY |
IPv4/IPv6 selection policy.
Setting which controls whether hostname lookups should prefer IPv4 or IPv6
Modes | Arg |
---|---|
Get, Set | lcb_ipv6_t* |
#define LCB_CNTL_VBGUESS_PERSIST |
Persist heuristic vbucket information across updates.
As of version 2.4.8 this option no longer has any effect, and vBucket heuristics are always retained for a maximum of 20 seconds.
Modes | Arg |
---|---|
Get, Set | int* |
#define LCB_CNTL_UNSAFE_OPTIMIZE |
#define LCB_CNTL_TCP_NODELAY |
Conventionally, the option to disable Nagle's algorithm is called "TCP_NODELAY", thus if this value is one, Nagle is off, and vice versa.
#define LCB_CNTL_KVTIMINGS |
Modes | Arg |
---|---|
Get | lcb_HISTOGRAM** |
enum lcb_COMPRESSOPTS |
Options for how to handle compression.