getRecoveryWorkerNum

Syntax

getRecoveryWorkerNum()

Arguments

None

Details

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

Examples

resetRecoveryWorkerNum(2)
getRecoveryWorkerNum()
// output
2

Related functions: resetRecoveryWorkerNum