| 接口 | 说明 |
|---|---|
| Constants |
mybatis_plus 自用常量集中管理
|
| StringPool |
Copy to jodd.util
Pool of
String constants to prevent repeating of
hard-coded String literals in the code. |
| 类 | 说明 |
|---|---|
| ArrayUtils |
ArrayUtils工具类
|
| Assert |
断言类
|
| BeanUtils |
Bean 转换工具类
使用请依赖 cglib 包
|
| ClassUtils |
ClassUtils
|
| CollectionUtils |
Collection工具类
|
| EncryptUtils |
加密工具类
|
| EnumUtils |
枚举处理工具类
|
| ExceptionUtils |
异常辅助工具类
|
| GlobalConfigUtils |
Mybatis全局缓存工具类
|
| IdWorker |
高效GUID产生算法(sequence),基于Snowflake实现64位自增ID算法。
|
| IOUtils |
IOUtils Copy org.apache.commons.io.IOUtils
|
| LambdaUtils |
Lambda 解析工具类
|
| ObjectUtils |
对象工具类
|
| PluginUtils |
插件工具类
|
| ReflectionKit |
反射工具类
|
| Sequence |
分布式高效有序ID生产黑科技(sequence)
优化开源项目:https://gitee.com/yu120/sequence
|
| SerializationUtils |
copy from org.springframework.util.SerializationUtils
|
| StringUtils |
String 工具类
|
| SystemClock |
高并发场景下System.currentTimeMillis()的性能问题的优化
System.currentTimeMillis()的调用比new一个普通对象要耗时的多(具体耗时高出多少我还没测试过,有人说是100倍左右)
System.currentTimeMillis()之所以慢是因为去跟系统打了一次交道
后台定时更新时钟,JVM退出时,线程自动回收
10亿:43410,206,210.72815533980582%
1亿:4699,29,162.0344827586207%
1000万:480,12,40.0%
100万:50,10,5.0%
|
| TableNameParser |
SQL 表名解析
https://github.com/mnadeem/sql-table-name-parser
Ultra light, Ultra fast parser to extract table name out SQLs, supports oracle dialect SQLs as well.
|
| Wrappers |
Wrapper 条件构造
|
Lambda工具类