记得上下班打卡 | git大法好,push需谨慎

Commit 9108b0b2 authored by 张国柄's avatar 张国柄

IDGenerator;

parent f3973380
...@@ -4,7 +4,7 @@ import java.net.NetworkInterface; ...@@ -4,7 +4,7 @@ import java.net.NetworkInterface;
import java.net.SocketException; import java.net.SocketException;
import java.util.Enumeration; import java.util.Enumeration;
public class IDGenSnow { public class IDGenerator {
private static final long twepoch = 1605456000000L; private static final long twepoch = 1605456000000L;
private static final long workerIdBits = 5L; private static final long workerIdBits = 5L;
private static final long dataCenterIdBits = 5L; private static final long dataCenterIdBits = 5L;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment