随笔分类 -  JAVA

摘要:(15条消息) 最多能创建多少个 TCP 连接?_程序员小灰的博客-CSDN博客 (15条消息) 最多能创建多少个 TCP 连接?_程序员小灰的博客-CSDN博客 结论 资源 一台Linux服务器的资源 一个TCP连接占用的资源 占满了会发生什么 CPU 看你花多少钱买的 看你用它干嘛 电脑卡死 内 阅读全文
posted @ 2022-03-01 15:46 变换 阅读(82) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/w1047667241/article/details/115894754 阅读全文
posted @ 2021-11-30 19:44 变换 阅读(66) 评论(0) 推荐(0) 编辑
摘要:最近遇到一个问题,需要sql 类似: select * where xx = 'xx' and ( xx='xx' or xx='xx') order by id asc 使用方法1: 可以去掉 前面 ” and (“ 和后面的 ”)“ <trim prefix="AND(" suffix=")" 阅读全文
posted @ 2021-10-15 18:05 变换 阅读(247) 评论(0) 推荐(0) 编辑
摘要:linux: log_format main 'remote_user=$remote_user&ip=$remote_addr&real_ip=$http_x_forwarded_for&log_time=$time_local&request_time=$request_time&host=$h 阅读全文
posted @ 2021-09-26 16:38 变换 阅读(128) 评论(0) 推荐(0) 编辑
摘要:nginx 配置: log_format main 'remote_user=$remote_user&ip=$remote_addr&real_ip=$http_x_forwarded_for&log_time=$time_local&request_time=$request_time&host 阅读全文
posted @ 2021-09-24 11:18 变换 阅读(135) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/Mli_Mi/article/details/106810737 淘宝的渠道授权,通过URL的方式 需要用户输入淘宝账号和密码 导致体验很不好. 后面通过接入淘宝百川的方式 拉起淘宝app进行百川授权,授权之后 再通过URL去授权淘宝 就不用登录了 只需要 阅读全文
posted @ 2021-09-15 14:58 变换 阅读(746) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/GrimMjx/p/10575147.html#_label2 阅读全文
posted @ 2021-07-13 04:17 变换 阅读(30) 评论(0) 推荐(0) 编辑
摘要:动态自由指定数据库。但是不支持一个数据源里面配置不同类型的数据库。真的坑! https://blog.csdn.net/zjy_love_java/article/details/107306924 阅读全文
posted @ 2020-10-20 17:04 变换 阅读(4219) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>com.taobao.txc</groupId> <artifactId>txc-client</artifactId> <version>${txc-version}</version> <scope>system</scope> <systemPath 阅读全文
posted @ 2020-05-07 14:58 变换 阅读(208) 评论(0) 推荐(0) 编辑
摘要:@Testpublic void cs1(){ BigDecimal a = BigDecimal.valueOf(-1); BigDecimal b = BigDecimal.ZERO; //相当于 a - b //可以直接和0比较 //a - b < 0 (小于b) if(a.compareTo 阅读全文
posted @ 2020-04-03 16:58 变换 阅读(1003) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/m0_37034294/article/details/82917234 阅读全文
posted @ 2020-02-28 12:05 变换 阅读(366) 评论(0) 推荐(0) 编辑
摘要:https://colobu.com/2016/02/29/Java-CompletableFuture/ 阅读全文
posted @ 2019-12-10 15:19 变换 阅读(500) 评论(0) 推荐(0) 编辑
摘要:基于Guava实现的文件复制 https://www.cnblogs.com/watson-ljf/p/6656532.html 阅读全文
posted @ 2019-07-30 10:10 变换 阅读(286) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/zhangdong2012/article/details/79983404 阅读全文
posted @ 2019-06-28 10:21 变换 阅读(118) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/zhangjianbing/p/8992897.html 阅读全文
posted @ 2019-05-28 15:16 变换 阅读(181) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/wangshuminjava/article/details/81046963 阅读全文
posted @ 2019-04-29 20:33 变换 阅读(448) 评论(0) 推荐(0) 编辑
摘要:https://www.baidu.com/s?ie=utf-8&tn=02003390_20_hao_pg&wd=%E5%8D%9A%E5%AE%A2%E5%9B%AD%E7%99%BB%E5%BD%95 IDEA中,点击右上角->Edit Configurations,在VM options中添 阅读全文
posted @ 2019-04-28 03:31 变换 阅读(5695) 评论(0) 推荐(3) 编辑
摘要:https://blog.csdn.net/qq_32867467/article/details/82944674 官网: https://mp.baomidou.com/guide/optimistic-locker-plugin.html#%E4%B8%BB%E8%A6%81%E9%80%82 阅读全文
posted @ 2019-04-20 15:03 变换 阅读(219) 评论(0) 推荐(0) 编辑
摘要:mvn install:install-file -Dfile=D:/open-api-sdk-2.0.jar -DgroupId=com.jd.open -DartifactId=jd-api-sdk -Dversion=2.0 -Dpackaging=jar com.jd.open jd-api-sdk 2.0 阅读全文
posted @ 2019-03-27 20:06 变换 阅读(318) 评论(0) 推荐(0) 编辑
摘要:package com.community.library.common.utils; import lombok.extern.log4j.Log4j; import java.security.*; import java.security.interfaces.DSAPrivateKey; import java.security.interfaces.DSAPublicKey; im... 阅读全文
posted @ 2019-01-16 18:51 变换 阅读(428) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示