yu ~master (2017-08-14T10:07:44Z)
Dub
Repo
SnowflkeBase.generate
yu
algorithm
snowflkeId
SnowflkeBase
Undocumented in source. Be warned that the author may not have intended to support it.
class
SnowflkeBase
(int workerIdBits, int sequenceBits = 10, long twepoch = 1488297600000L)
long
generate
(
)
if
(
sequenceBits
> 0 &&
twepoch
> 0
)
Meta
Source
See Implementation
yu
algorithm
snowflkeId
SnowflkeBase
constructors
this
functions
generate
witeToNext
properties
MacId
variables
maxSequence
maxWorkerId
timestampLeftShift