会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
牛牛
牛牛在线
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
上一页
1
···
3
4
5
6
7
8
9
10
下一页
2022年12月27日
zookeeper的安装
摘要: zookeeper的安装1、下载wget --no-check-certificate --no-cookies https://downloads.apache.org/zookeeper/zookeeper-3.8.0/apache-zookeeper-3.8.0-bin.tar.gz2、解压t
阅读全文
posted @ 2022-12-27 21:52 蜗牛无敌
阅读(21)
评论(0)
推荐(0)
编辑
jdk1.8的安装 linux
摘要: 1、下载 wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/
阅读全文
posted @ 2022-12-27 21:28 蜗牛无敌
阅读(24)
评论(0)
推荐(0)
编辑
2022年12月23日
jdk 1.8 多线程
摘要: package com.sleep.demo; import org.springframework.util.CollectionUtils; import java.util.ArrayList; import java.util.List; import java.util.Random; i
阅读全文
posted @ 2022-12-23 11:39 蜗牛无敌
阅读(143)
评论(0)
推荐(0)
编辑
2022年10月12日
使用xstream 解析xml 到对象
摘要: 1、依赖包 <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>1.4.10</version> </dependency> <dependency> <
阅读全文
posted @ 2022-10-12 19:48 蜗牛无敌
阅读(178)
评论(0)
推荐(0)
编辑
2022年9月23日
springboot 配置类
摘要: @Data @ConfigurationProperties(prefix = "recruitment.config") @Component public class RecruitmentConfigProperty { /** * 完成招募跳转url */ private String co
阅读全文
posted @ 2022-09-23 17:26 蜗牛无敌
阅读(18)
评论(0)
推荐(0)
编辑
2022年9月20日
redis distributed lock redis分布式锁试下
摘要: @Resourceprivate DistributedRedisLockTemplate lockTemplate;String distributedKey="lockKey" ; DistributedLockCallback<String> callback = new Distribute
阅读全文
posted @ 2022-09-20 15:50 蜗牛无敌
阅读(76)
评论(0)
推荐(0)
编辑
restTemplate 使用1
摘要: public String getCode(String jsCode) { try { String url= "http://www.baidu.com" ResponseEntity responseEntity = restTemplate.getForEntity(url, WeChatS
阅读全文
posted @ 2022-09-20 15:37 蜗牛无敌
阅读(28)
评论(0)
推荐(0)
编辑
restTemplate post使用
摘要: private String generateScheme(GetWechatSchemeReq req, String accessToken) { String path = req.getPath(); String query = req.getQuery(); String url = "
阅读全文
posted @ 2022-09-20 15:33 蜗牛无敌
阅读(60)
评论(0)
推荐(0)
编辑
2022年8月31日
restTemplate get 使用
摘要: ResponseEntity<byte[]> responseEntity; try { responseEntity = restTemplate.exchange( wholeUrl, HttpMethod.GET, this.createEntity(), new ParameterizedT
阅读全文
posted @ 2022-08-31 10:37 蜗牛无敌
阅读(51)
评论(0)
推荐(0)
编辑
2022年2月17日
mysql高可用MHA
摘要: MHA 可以管理多个复制集,每个复制集 就是个主从架构,当mater发生故障的时候,MHA可以分析slave的中继日志文件的差异,让数据一致,然后选择一个作为master,当然在实际开发过程中有多个application,就有不同的数据库,就会架设多个主从复制集,就可以使用一个MHA来统一管理,详情
阅读全文
posted @ 2022-02-17 18:20 蜗牛无敌
阅读(24)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7
8
9
10
下一页
公告