Table of Contents

Method New

Namespace
Millrace
Assembly
Millrace.dll

New()

Mints an id from the system clock.

public static JobId New()

Returns

JobId

New(TimeProvider)

Mints an id timestamped from time.

public static JobId New(TimeProvider time)

Parameters

time TimeProvider

Returns

JobId

Remarks

The overload the engine uses, so that a test driving a fake clock produces ids whose embedded timestamps agree with the rest of the record it is building. Nothing in the contract lets a provider read that timestamp back — it exists to keep index writes local, not to be interpreted.