java-snowflake
java-snowflake copied to clipboard
Distributed Unique ID Generator in Java inspired by Twitter Snowflake
Results
3
java-snowflake issues
Sort by
recently updated
recently updated
newest added
Hi, Can you please update license to your repo? Thanks
Hi - Planning to use this implementation for generating transaction Id for distributed system. Would like to understand how it generates unique number in different criteria.1. Sub-Nano second latency request....
@callicoder The entire nextId() method is synchronized! Why do we need a volatile still? private volatile long lastTimestamp = -1L; private volatile long sequence = 0L; public synchronized long nextId()...