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


More...

#include <ixmgmt.h>

Data Fields

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

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: