IGDIDProvider MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The IGDIDProvider type exposes the following members.
Methods

  NameDescription
Public methodGenerateOneGDID
Generates Globally-Unique distributed ID (GDID) for the supplied sequence name. Note: do not confuse with block pre-allocation, which is an internal optimization. Even if 100 IDs are pre-allocated the method returns one unique GDID
Public methodGenerateOneSequenceID
Generates one ID for the supplied sequence name. Note: do not confuse with block pre-allocation, which is an internal optimization. Even if 100 IDs are pre-allocated the method returns one unique ID
(Inherited from IUniqueSequenceProvider.)
Public methodGetSequenceInfos
Returns sequnce information enumerable for all sequences in the named scope
(Inherited from IUniqueSequenceProvider.)
Public methodTryGenerateManyConsecutiveGDIDs
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
Public methodTryGenerateManyConsecutiveSequenceIDs
Tries to generate many consecutive IDs. If the reserved block gets exhausted, then the returned ID count may be less than requested.
(Inherited from IUniqueSequenceProvider.)
Back to Top
Properties

  NameDescription
Public propertyName (Inherited from INamed.)
Public propertySequenceScopeNames
Returns the list of all scope names in the instance
(Inherited from IUniqueSequenceProvider.)
Public propertyTestingAuthorityNode
Gets/sets Authority Glue Node for testing. It can only be set once in the testing app container init before the first call to Generate is made. When this setting is set then any cluster authority nodes which would have been normally used will be completely bypassed during block allocation
Back to Top
See Also