Couchbase C Client  3.3.12
Asynchronous C Client for Couchbase
lcb_CMDN1XWATCH Struct Reference

#include <ixmgmt.h>

Data Fields

const lcb_N1XSPEC *const * specs
 Input specs.
 
size_t nspec
 Number of specs.
 
lcb_U32 timeout
 Maximum amount of time to wait (microseconds).
 
lcb_U32 interval
 How often to check status (microseconds).
 
lcb_N1XMGMTCALLBACK callback
 Callback to invoke once the indexes have been built or the timeout has been reached.
 

Detailed Description

Stability
Volatile

Structure used for polling index building statuses

Field Documentation

◆ specs

const lcb_N1XSPEC* const* specs

Input specs.

This should be the specs received from lcb_n1x_startbuild()'s callback. If you are building from scratch, only the lcb_N1XSPEC::rawjson and lcb_INDEXSPEC::nrawjson need to be populated

◆ nspec

size_t nspec

Number of specs.

◆ timeout

lcb_U32 timeout

Maximum amount of time to wait (microseconds).

If not specified, the default is 30 seconds (30 * 100000)

◆ interval

lcb_U32 interval

How often to check status (microseconds).

Default is 500 milliseconds (500000)

◆ callback

lcb_N1XMGMTCALLBACK callback

Callback to invoke once the indexes have been built or the timeout has been reached.

The callback is only invoked once.


The documentation for this struct was generated from the following file: