上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 48 下一页
摘要: ########MD5编码############## public static String genMd5ByBytes(byte[] bytes) throws Exception { String value = null; try { MessageDigest md5 = Message 阅读全文
posted @ 2020-01-17 06:10 小白啊小白,Fighting 阅读(42253) 评论(0) 推荐(1) 编辑
摘要: #查看mysql当前存在的事务,如果存在死锁,则会记录select * from information_schema.innodb_trx ;#删除当前事务的死锁进程。kill trx_mysql_thread_id 阅读全文
posted @ 2020-01-15 16:48 小白啊小白,Fighting 阅读(684) 评论(0) 推荐(0) 编辑
摘要: #######gateway 路由案例####### 1、pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w 阅读全文
posted @ 2020-01-11 16:21 小白啊小白,Fighting 阅读(544) 评论(0) 推荐(0) 编辑
摘要: ##########服务提供者############ 1、pom.xml文件配置 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// 阅读全文
posted @ 2020-01-06 14:59 小白啊小白,Fighting 阅读(788) 评论(0) 推荐(0) 编辑
摘要: ###########nacos server 单机部署############# nacos注册中心,相当于eureka,它相比eureka而言,直接使用其包就可以执行,比eureka简单点,但是相比阿里收费的edas而言,它的功能又相对少,总体而言很不错了。 nacos 让开发人员只关注个人的开 阅读全文
posted @ 2020-01-06 10:09 小白啊小白,Fighting 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 工具类如下: import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisCallback; import org.springframe 阅读全文
posted @ 2019-12-26 10:45 小白啊小白,Fighting 阅读(516) 评论(0) 推荐(0) 编辑
摘要: ####################发送消息(producer)##################### 1、添加依赖,在pom.xml文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring- 阅读全文
posted @ 2019-12-26 09:24 小白啊小白,Fighting 阅读(384) 评论(0) 推荐(0) 编辑
摘要: ############turbine简单使用################ 1、pom.xml文件 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xs 阅读全文
posted @ 2019-12-24 18:12 小白啊小白,Fighting 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1、添加pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst 阅读全文
posted @ 2019-11-25 11:14 小白啊小白,Fighting 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 1、Student package com.elk.log.myTest; public class Student implements Comparable<Student> { /** 学号 */ private long id; private String name; private in 阅读全文
posted @ 2019-11-21 17:23 小白啊小白,Fighting 阅读(206) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 48 下一页