Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

snowflake

snowflake, simple and effective handle clock moved backwards.


Example:

public class Sample {

    public static void main(String[] args) {
        ZookeeperWorker.init("127.0.0.1");
        System.out.println(SnowFlakeWorker.getInstance().nextId());
        System.out.println(SnowFlakeWorker.getInstance().nextId());
    }
}

About

snowflake, simple and effective handle clock moved backwards.

Topics

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages