getRecoveryWorkerNum

Syntax

getRecoveryWorkerNum()

Details

Get the number of worker threads used by the current node for chunk recovery. It can only be executed on the data node.

Parameters

None

Returns

An integer scalar.

Examples

resetRecoveryWorkerNum(2)
getRecoveryWorkerNum()
// output: 2

Related functions: resetRecoveryWorkerNum