java
stephenxyf
这个作者很懒,什么都没留下…
展开
-
后台定时更新时钟,JVM退出时,线程自动回收---跟rocketmq学习
具体代码如下: public class SystemClock { //精确值具体到毫秒 private final long precision; private final AtomicLong now; public SystemClock(long precision) { this.precision = precisi原创 2016-05-04 16:18:58 · 381 阅读 · 0 评论 -
使用RethinkDB与SpringBoot 搭建一个简单的聊天
最近项目有需要用到RethinkDB,故而在网上查询些资料,本文主要借鉴https://geowarin.github.io/spring-boot-and-rethinkdb.html 通过搭建一个聊天应用程序来学习RethinkDB. RethinkDB 是什么?官网上的介绍是:RethinkDB is the open-source, scalable database that make原创 2017-07-06 10:06:08 · 1262 阅读 · 1 评论