启动broker之后我们可以看到下面这些文件 1.config包含了运行期间一些配置信息,主要包括下列信息。 consumerFilter.json:主体消息过滤信息 consumerOffset.json:集群消费模式消息消费进度 delayOffset.json:延时消息队列拉取进度 subsc ...
分类:
其他好文 时间:
2020-01-21 15:57:22
阅读次数:
110
目录: 文章目录方法一:三重循环思路代码实现查询出的结果及时间方法二:利用max(主键)代码实现查询出的结果及时间方法三:利用row_number关键字SQL实现查询出的结果及时间第四种方法:offset /fetch next(2012版本及以上才有)代码实现结果及运行时间封装的存储过程总结 这篇 ...
分类:
数据库 时间:
2020-01-19 20:48:42
阅读次数:
171
MappedFileQueue的封装 MappedFileQueue是MappedFile的管理容器,MappedFileQueue是对存储目录的封装。 查找MappedFile: 1.根据时间戳来查找MappedFile: 2.根据消息偏移量offset查找MappedFile mq采用定时删除策 ...
分类:
其他好文 时间:
2020-01-18 16:39:50
阅读次数:
69
1 并查集: 2 #include<utility> 3 #include<iostream> 4 #include<set> 5 #include<map> 6 #include<vector> 7 #include<queue> 8 #include<cmath> 9 #include<algo ...
分类:
其他好文 时间:
2020-01-16 21:45:30
阅读次数:
61
目录: 1.offset系列 * 在style标签中设置的css样式属性,不能使用如下方法: ele.style.width ele.style.height * 以后获取元素的宽和高,使用如下方法 ele.offsetWidth;//获取宽(包含边框) ele.offsetHeight;//获取高 ...
分类:
其他好文 时间:
2020-01-16 01:15:06
阅读次数:
79
简介 PageHelper是Mybatis通用分页插件。 SpringBoot、Mybatis、PageHelper 1. pom.xml 2. 编写Mapper 与Mybatis一样 3. 使用PageHelper 参考资料 "官网地址" ...
分类:
其他好文 时间:
2020-01-15 19:10:53
阅读次数:
69
offset 一句话:除了 margin 我们都要。 offsetWidth & offsetHeight offsetWidth = cssWidth + padding + border; offsetHeight = cssHeight + padding + border; 注意:如果将元素 ...
分类:
其他好文 时间:
2020-01-15 10:09:02
阅读次数:
85
代码: class BottomClipper extends CustomClipper<Path> { @override Path getClip(Size size) {//child 元素的size var path = Path(); path.lineTo(0, 0);//起始点 pa ...
分类:
其他好文 时间:
2020-01-14 20:23:47
阅读次数:
60
将本地文件通过前端上传到服务器上 public BaseResponseSwagger resolveFile(@Valid @ApiParam(value = "file")@RequestParam(name = "file",required = true) MultipartFile fil ...
分类:
编程语言 时间:
2020-01-13 22:01:13
阅读次数:
220
1、OFFSET用于从指定区域获取一个视图。 OFFSET(reference, rows, cols, [height], [width]) 必选: eference:获取被参考单元格 rows:相对于被参考单元格的行偏移量 cols:相对于被参考单元格的列偏移量 可选: [height]:返回视 ...
分类:
其他好文 时间:
2020-01-13 16:26:58
阅读次数:
83