文章分类 - 分布式
分布式
摘要:1.redis <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-integration</artifactId> </dependency> <dependency> <
阅读全文
摘要:package **; public class IdWorker { //下面两个每个5位,加起来就是10位的工作机器id private static long workerId; //工作id private static long datacenterId; //数据id //12位的序列号
阅读全文

浙公网安备 33010602011771号