会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
A_yes
博客园
首页
新随笔
联系
订阅
管理
2020年8月14日
【延时任务】-基于redis的延时任务
摘要: 基于Redis的延时任务队列时间 参考有赞延迟队列设计 源码地址: https://gitee.com/A_yes/big-smart 主要组成部分 1. DelayJobBucket 数据结构 redis的 zset(有序集合)用于存放任务的id 并按照执行时间排序 2. JobPoll 数据结构
阅读全文
posted @ 2020-08-14 11:21 A_yes
阅读(364)
评论(0)
推荐(0)
2020年7月30日
【延时任务】-Timer
摘要: 1. 使用方法2. 源码解析构造方法设定任务举例3. 总结 Timer 1. 使用方法 public class TimerTest { public static void main(String[] args) { Timer timer = new Timer(); System.out.fo
阅读全文
posted @ 2020-07-30 15:47 A_yes
阅读(266)
评论(0)
推荐(0)
2020年7月29日
【延时任务】-DelayQueue详解
摘要: 1. 使用方法 2. 源码解析 入队 出队 3. 总结 DelayQueue 1. 使用方法 DelayQueue中的元素要实现Delayed接口,Delayed接口又实现了 Comparable接口 public interface Delayed extends Comparable<Delay
阅读全文
posted @ 2020-07-29 16:10 A_yes
阅读(700)
评论(0)
推荐(0)
2020年7月13日
logback配置说明
摘要: logback配置详解 logback配置详解 官方文档 http://logback.qos.ch/manual/ 1. 根节点 - configuration 一共有三个属性 debug 当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为fal
阅读全文
posted @ 2020-07-13 13:41 A_yes
阅读(1052)
评论(0)
推荐(0)
2019年12月12日
[一天一个设计模式]-[策略模式]
摘要: 策略(Strategy)模式的定义:该模式定...
阅读全文
posted @ 2019-12-12 08:56 A_yes
阅读(116)
评论(0)
推荐(0)
[一天一个设计模式]-[状态模式]
摘要: 状态模式(State Pattern) :允...
阅读全文
posted @ 2019-12-12 08:56 A_yes
阅读(93)
评论(0)
推荐(0)
[一天一个设计模式]-[观察者模式]
摘要: 观察者(Observer)模式的定义:指多个...
阅读全文
posted @ 2019-12-12 08:56 A_yes
阅读(113)
评论(0)
推荐(0)
[一天一个设计模式]-[中介者模式]
摘要: 中介者模式(Mediator Pattern...
阅读全文
posted @ 2019-12-12 08:56 A_yes
阅读(137)
评论(0)
推荐(0)
[一天一个设计模式]-[命令模式]
摘要: 命令模式(Command Pattern)是...
阅读全文
posted @ 2019-12-12 08:56 A_yes
阅读(127)
评论(0)
推荐(0)
pn532复制小区门卡到手环
摘要: 小区门卡就剩一张了,去物业办一张要50块。先...
阅读全文
posted @ 2019-12-12 08:56 A_yes
阅读(736)
评论(0)
推荐(0)
下一页
公告