会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小白
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
24
25
26
27
28
29
30
31
32
···
49
下一页
2020年1月17日
Java之Base64转为图片
摘要: ########MD5编码############## public static String genMd5ByBytes(byte[] bytes) throws Exception { String value = null; try { MessageDigest md5 = Message
阅读全文
posted @ 2020-01-17 06:10 小白啊小白,Fighting
阅读(42502)
评论(0)
推荐(1)
2020年1月15日
Mysql解决死锁的问题,防止阻塞
摘要: #查看mysql当前存在的事务,如果存在死锁,则会记录select * from information_schema.innodb_trx ;#删除当前事务的死锁进程。kill trx_mysql_thread_id
阅读全文
posted @ 2020-01-15 16:48 小白啊小白,Fighting
阅读(698)
评论(0)
推荐(0)
2020年1月11日
第十三章 SpringCloud之Gateway 路由
摘要: #######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
阅读(552)
评论(0)
推荐(0)
2020年1月6日
第十二章 SpringCloud之Nacos Client Provider
摘要: ##########服务提供者############ 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
阅读(798)
评论(0)
推荐(0)
第十二章 SpringCloud之Nacos Server
摘要: ###########nacos server 单机部署############# nacos注册中心,相当于eureka,它相比eureka而言,直接使用其包就可以执行,比eureka简单点,但是相比阿里收费的edas而言,它的功能又相对少,总体而言很不错了。 nacos 让开发人员只关注个人的开
阅读全文
posted @ 2020-01-06 10:09 小白啊小白,Fighting
阅读(407)
评论(0)
推荐(0)
2019年12月26日
springboot 之redis 分布式锁
摘要: 工具类如下: import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisCallback; import org.springframe
阅读全文
posted @ 2019-12-26 10:45 小白啊小白,Fighting
阅读(530)
评论(0)
推荐(0)
第十一章 SpringCloud之stream
摘要: ####################发送消息(producer)##################### 1、添加依赖,在pom.xml文件 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-
阅读全文
posted @ 2019-12-26 09:24 小白啊小白,Fighting
阅读(390)
评论(0)
推荐(0)
2019年12月24日
第十章 SpringCloud之turbine监控
摘要: ############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
阅读(315)
评论(0)
推荐(0)
2019年11月25日
springboot 之JPA
摘要: 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
阅读(334)
评论(0)
推荐(0)
2019年11月21日
Java8 新特性之Stream
摘要: 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
阅读(211)
评论(0)
推荐(0)
上一页
1
···
24
25
26
27
28
29
30
31
32
···
49
下一页
公告