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