All Classes and Interfaces
类
说明
Created by davidoff shen on 2016-09-04.
已过时。
2020-12-11 降频重构
根据 sujiwu@126.com 的设计思路、代码修改
Created by davidoff shen on 2017-05-11.
负责对服务实例进行类型匹配检查
Created by davidoff shen on 2017-05-11.
信任所有证书
Created with IntelliJ IDEA.
已过时。
Clock为系统提供抽象的时钟获取接口,可根据系统参数设置时间速率。
基于 tcp 提供一个时间服务器
Created by davidoff shen on 2017-04-20.
已过时。
2020-12-11 降频重构
定义复制PO(持久化对象)/VO(视图对象)的标准
Created by davidoff shen on 2017-04-18.
Created by davidoff shen on 2017-04-18.
Created by davidoff shen on 2017-04-18.
Created by davidoff shen on 2017-04-18.
Created by davidoff shen on 2017-04-18.
This class provides utility functions for CRC calculation using either canonical straight forward approach
or using "fast" table-driven implementation.
Parameters represents set of parameters defining a particular CRC algorithm.
Created by davidoff shen on 2017-04-19.
已过时。
2020-12-11 降频重构
用于将非RuntimeException转为RuntimeException。
Created by davidoff shen on 2016-09-05.
减频器,用来降低执行体的执行频率
泛型工具
Created by davidoff shen on 2017-04-19.
基于
MessageFormat 的渲染服务Created by davidoff shen on 2017-03-09.
Created by davidoff shen on 2016-09-04.
在classpath中添加mimeTypes.properties,逐行配置mimeType.???
提供一个多任务并行处理功能
Created by davidoff shen on 2017-05-12.
Created by davidoff shen on 2017-05-12.
Created by davidoff shen on 2017-04-19.
Created by davidoff shen on 2016-11-28.
自财运通项目中移植过来utilities中
2016/09/05 废弃
2014/04/27 支持命名空间
配置如下:
A.properties
org.coodex.util.profile.NAMESPACE=XX.properties
XX.properties
abcd=xxxxxx
则相当于在A.properties中
NAMESPACE.abcd=xxxxxx
2016/09/05 废弃
配置如下:
A.properties
org.coodex.util.profile.NAMESPACE=XX.properties
XX.properties
abcd=xxxxxx
则相当于在A.properties中
NAMESPACE.abcd=xxxxxx
自财运通项目中移植过来utilities中
2016/09/05 废弃
2014/04/27 支持命名空间
配置如下:
A.properties
org.coodex.util.profile.NAMESPACE=XX.properties
XX.properties
abcd=xxxxxx
则相当于在A.properties中
NAMESPACE.abcd=xxxxxx
2016/09/05 废弃
配置如下:
A.properties
org.coodex.util.profile.NAMESPACE=XX.properties
XX.properties
abcd=xxxxxx
则相当于在A.properties中
NAMESPACE.abcd=xxxxxx
渲染器统一接口
字符串渲染器,根据模板进行选择
资源扫描器,用来替换蹩脚的Common.forEach
重试模板
第几次之后延迟多长时间重试
Created by davidoff shen on 2017-04-24.
某一个一维空间上的线段,可以进行合并,减法操作
Created by davidoff shen on 2017-04-18.
Created by davidoff shen on 2017-04-18.
Created by davidoff shen on 2017-03-09.
Created by davidoff shen on 2017-04-26.
Twitter_Snowflake
SnowFlake的结构如下(每部分用-分开):
0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000
1位标识,由于long基本类型在Java中是带符号的,最高位是符号位,正数是0,负数是1,所以id一般是正数,最高位是0
41位时间截(毫秒级),注意,41位时间截不是存储当前时间的时间截,而是存储时间截的差值(当前时间截 - 开始时间截) 得到的值),这里的的开始时间截,一般是我们的id生成器开始使用的时间,由我们程序来指定的(如下下面程序IdWorker类的startTime属性)。
SnowFlake的结构如下(每部分用-分开):
0 - 0000000000 0000000000 0000000000 0000000000 0 - 00000 - 00000 - 000000000000
1位标识,由于long基本类型在Java中是带符号的,最高位是符号位,正数是0,负数是1,所以id一般是正数,最高位是0
41位时间截(毫秒级),注意,41位时间截不是存储当前时间的时间截,而是存储时间截的差值(当前时间截 - 开始时间截) 得到的值),这里的的开始时间截,一般是我们的id生成器开始使用的时间,由我们程序来指定的(如下下面程序IdWorker类的startTime属性)。
Created by davidoff shen on 2016-12-15.
Created by davidoff shen on 2016-09-04.
Created by davidoff shen on 2017-04-19.
已过时。
2020-12-11 降频重构
已过时。
已过时。
当前时刻获取途径,增加此服务接口的目的是为了方便测试
Created by davidoff shen on 2017-04-01.
在一次事务中运行
双向copier
Created by davidoff shen on 2017-05-11.