SnowflakeGenerator.this

Constructs the generator using a given node id and epoch offset.

  1. this(long nodeId, long epoch)
    struct SnowflakeGenerator
    this
    (
    long nodeId
    ,
    long epoch
    )
  2. this(long nodeId)

Parameters

nodeId long

The node id.

epoch long

The epoch offset, in milliseconds since 01-01-1970

Meta