C# Class iSynaptic.InterleavingUniqueNumberGenerator.Version00Generator

Inheritance: IVersionedGenerator
Exibir arquivo Open project: iSynaptic/iSynaptic.Core

Public Methods

Method Description
Generate ( Byte count ) : System.UInt64[]
Version00Generator ( UInt32 nodeId, System.DateTime epoch ) : System

Private Methods

Method Description
ComputeId ( UInt32 minutesFromEpoch, UInt32 sequence ) : System.UInt64
ComputeMinutesFromEpoch ( ) : UInt32

Method Details

Generate() public method

public Generate ( Byte count ) : System.UInt64[]
count Byte
return System.UInt64[]

Version00Generator() public method

public Version00Generator ( UInt32 nodeId, System.DateTime epoch ) : System
nodeId System.UInt32
epoch System.DateTime
return System