上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
摘要: 总要有一个容器,一个生产方,一个消费方 阅读全文
posted @ 2018-08-23 18:58 funny_coding 阅读(193) 评论(0) 推荐(0) 编辑
摘要: A atomicity 原子性 一个事务(transaction)中的所有操作,要么全部完成,要么全部不完成, C consistency 一致性 在事务开始之前和事务结束以后,数据库的完整性没有被破坏。这表示写入的资料必须完全符合所有的预设规则 I isolation 隔离性 数据库允许多个并发事 阅读全文
posted @ 2018-08-23 17:20 funny_coding 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 参考Dong Lee的系列博客:http://ifeve.com/jmm-faq-dcl/ volatile在初始化代码块的用途:jdk一个示例 阅读全文
posted @ 2018-08-23 13:56 funny_coding 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 先看一个简单的示例: 阅读全文
posted @ 2018-08-22 21:46 funny_coding 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: https://files.cnblogs.com/files/yszzu/netty-rpc-parent.zip https://github.com/apache/rocketmq/blob/master/remoting/pom.xml 参考: 阅读全文
posted @ 2018-08-21 21:59 funny_coding 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 线程池构造方法不能控制任务的超时时间, java.util.concurrent.ThreadPoolExecutor#ThreadPoolExecutor(int, int, long, java.util.concurrent.TimeUnit, java.util.concurrent.Blo 阅读全文
posted @ 2018-08-21 11:44 funny_coding 阅读(18850) 评论(0) 推荐(0) 编辑
摘要: 问题: 在异步线程中有注解@Transactional是否会开启新事务? 不会,事务传播失效 private @Transactional也是失效 阅读全文
posted @ 2018-08-20 18:25 funny_coding 阅读(2791) 评论(0) 推荐(0) 编辑
摘要: String List Set Hash sort 正则匹配 批量删除key https://stackoverflow.com/questions/31029982/redis-how-to-delete-multiple-keys-matching-pattern EVAL "return re 阅读全文
posted @ 2018-08-11 09:36 funny_coding 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 注入和查找问题 HSF Consumer bean, 注入的是beanName='实际接口名', type='HSFSpringConsumerBean', 造成Autowire时查询出来的类型不匹配 MybatisMapper的autowire为什么没有类型不匹配的问题, 注入时是Mapper的代 阅读全文
posted @ 2018-08-10 13:25 funny_coding 阅读(205) 评论(0) 推荐(0) 编辑
摘要: redis集群方案 3主3从高可用方案: 机器数要求有点高。。 主备哨兵模式 sentinel 集群管理端口 不能用来维护数据 , 比如26379, 此端口连接后没有get set keys等命令 查询数据仍然使用6379端口 https://blog.csdn.net/u011204847/art 阅读全文
posted @ 2018-08-09 22:43 funny_coding 阅读(105) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 20 下一页
build beautiful things, share happiness