MdmSynchronizer::getNoOfThreads Method [AX 2012]

This method is used to calulate the number of tasks should be used for an data import/export job in the master data synchronization.

server public static int getNoOfThreads(
    int maxThreads, 
    int recordsPerThread, 
    int noOfRecords)

Run On

Server

Parameters

maxThreads
Type: int
The maximum number of batch tasks should this be used for this import/export job.
recordsPerThread
Type: int
The limit for the number of records to be used in a single task.
noOfRecords
Type: int
The number of records to be imported/exported.

Return Value

Type: int
The number of tasks to be used for the import/export job.
Show: