Set the allocator factory used by libcouchbase. The allocator factory is a function invoked with no arguments which yields a new rdb_ALLOCATOR object. Currently the use and API of this object is considered internal and its API and header files are in src/rdb.
Set the behavior of the lcb_sched_leave() API call. By default the lcb_sched_leave() will also set up the necessary requirements for flushing to the network. If this option is off then an explicit call to lcb_sched_flush() must be performed instead.
Determines whether to run the event loop internally within lcb_destroy() until no more I/O resources remain for the library. This is usually only necessary if you are creating a lot of instances and/or are using memory leak analysis tools.
Disable or enable Nagle's algorithm. The default is to disable it, as it will typically reduce latency. In general it is recommended not to touch this setting. It is here mainly for debugging.
This function will cause a single "tick" in the underlying event loop, causing operations whose I/O can be executed immediately to be sent to the server.
globalScope> Global lcb_view_cancel (lcb_t instance, lcb_VIEWHANDLE handle)
This allows to get the given index for a vbucket server. If the index is 0 then this returns the master index, if the index is greater then it returns the replica index