nn::nex::IDGenerator::SetDefaultRequestedRangeSize Member Function

Syntax

static void SetDefaultRequestedRangeSize(
     qUnsignedInt32 uiRangeSize
);

Parameters

Name Description
uiRangeSize [in] Specifies the default values for the range of IDs that duplicas can request on the duplication master when IDGenerator generates IDs.

Return Values

None.

Description

Sets the default values for the range of IDs that duplicas can request on the duplication master when IDGenerator generates IDs.

All IDGenerator objects (including duplication masters and duplicas) hold a local pool of IDs that can each be used. Before this pool becomes empty (when about 25 IDs have been used), a local pool of new IDs is requested by the duplication master. This function sets the default local ID pool size used when IDGenerator creates it.

See Also

GetDefaultRequestedRangeSize, SetRequestedRangeSize

Revision History

2011/01/27
Initial version.

CONFIDENTIAL