在关闭显示的情况下, 可以达到每毫秒3万个的生成速度 /** * An Implementation of Twitter Snowflake ID Generator */ public class SnowflakeId { private final static long EPOCH = 0L; // shift for smaller timestamp private final static long DEVICE_ID_BITS = 2L; private final stati…