Source/NFX/DataAccess/IUniqueSequenceProvider.cs
/// <summary>
/// Tries to generate many consecutive Globally-Unique distributed ID (GDID) from the same authority for the supplied sequence name.
/// If the reserved block gets exhausted, then the returned ID array length may be less than requested
/// </summary>
/// <param name="scopeName">The name of scope where sequences are kept</param>
/// <param name="sequenceName">The name of sequence within the scope for which ID to be obtained</param>
/// <param name="gdidCount">How many Consecutive GDIDs from the same authority should the system try to reserve</param>
/// <param name="vicinity">The location on ID counter scale, the authority may disregard this parameter</param>
/// <param name="noLWM">
///  When true, does not start async fetch of the next ID block while the current block reaches low-water-mark.
///  This may not be desired in some short-lived processes.
///  The provider may disregard this flag
/// </param>
/// <returns>The GDID[] instance which may have less elements than requested by gdidCount</returns>
Tries to generate many consecutive Globally-Unique distributed ID (GDID) from the same authority for the supplied sequence name.
If the reserved block gets exhausted, then the returned ID array length may be less than requested
Tries to generate many consecutive Globally - Unique distributed ID ( GDID ) from the same authority for the supplied sequence name . If the reserved block gets exhausted then the returned ID array length may be less than requested
Distributed.GDID[] TryGenerateManyConsecutiveGDIDs(string scopeName,
                                                           string sequenceName,
                                                           int gdidCount,
                                                           ulong? vicinity = Distributed.GDID.COUNTER_MAX,
                                                           bool noLWM = false);
Distributed . GDID [ ] TryGenerateManyConsecutiveGDIDs ( string scopeName , string sequenceName , int gdidCount , ulong ? vicinity = Distributed . GDID . COUNTER_MAX , bool noLWM = false ) ;
Tries to generate many consecutive Globally-Unique distributed ID (GDID) from the same authority for the supplied sequence name.
Tries to generate many consecutive Globally - Unique distributed ID ( GDID ) from the same authority for the supplied sequence name .
The GDID[] instance which may have less elements than requested by gdidCount
The GDID [] instance which may have less elements than requested by gdidCount
scopeName
string
The name of scope where sequences are kept
The name of scope where sequences are kept
sequenceName
string
The name of sequence within the scope for which ID to be obtained
The name of sequence within the scope for which ID to be obtained
gdidCount
int
None
vicinity
ulong?
The location on ID counter scale, the authority may disregard this parameter
The location on ID counter scale the authority may disregard this parameter
noLWM
bool
When true, does not start async fetch of the next ID block while the current block reaches low-water-mark.
This may not be desired in some short-lived processes.
The provider may disregard this flag
When true does not start async fetch of the next ID block while the current block reaches low - water - mark . This may not be desired in some short - lived processes . The provider may disregard this flag