SkillAgentSearch skills...

Snowflake

snowflake, simple and effective handle clock moved backwards.

Install / Use

/learn @timestatic/Snowflake
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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());
    }
}

Related Skills

View on GitHub
GitHub Stars21
CategoryData
Updated2y ago
Forks6

Languages

Java

Security Score

65/100

Audited on Jun 11, 2023

No findings