idcenter
A network service for generating unique ID numbers.
(Algorithm from twitter snowflake)
This package includes a base62 tools to reduce the number of digits.
usage
- mvnrepository http://mvnrepository.com/artifact/com.sohu/idcenter/
- centra.maven.org http://central.maven.org/maven2/com/sohu/idcenter/
maven:
<dependency>
<groupId>com.sohu</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.1</version>
</dependency>
gradle:
'com.sohu:idcenter:1.1.1'