1.背景 其实使用spring BeanDefinitionParseDelegate 进行bean解析时,会获取自己的look up 标签进行解析 ,所以如何使用look up 标签呢 2 代码块 User package beans.lookUp; / @author lianzheng @da ...
分类:
编程语言 时间:
2019-12-22 00:46:47
阅读次数:
114
Description Given an integer array nums with all positive numbers and no duplicates, find the number of possible combinations that add up to a positiv ...
分类:
其他好文 时间:
2019-12-21 22:30:21
阅读次数:
119
解决方法: step1: 到 sqlite官网 (http://www.sqlite.org/download.html) 下载 sqlite3.exe step2: 将下载到的 sqlite3.exe 文件复制到 本地磁盘的某个临时目录下 (我的svn源代码放在共享磁盘中,发现 sqlite老是找 ...
分类:
其他好文 时间:
2019-12-21 13:57:21
阅读次数:
106
改成动态更新配置文件,如下每五秒重新生成配置文件 confd与etcd的使用 Add keys This guide assumes you have a working etcd, or consul server up and running and the ability to add new... ...
分类:
其他好文 时间:
2019-12-20 01:07:48
阅读次数:
170
ClustrixDB被授权为每个节点的最大核数以及集群的最大节点数。如果需要扩展许可证,请联系Clustrix Sales。扩容之前检查License是否支持节点数。 一、准备节点 提供节点并在每个节点上安装ClustrixDB,使用相同的版本和安装配置。 如果正在使用区域,请确保目标配置在每个区域 ...
分类:
数据库 时间:
2019-12-19 16:19:45
阅读次数:
103
Warm up global ordinals Global ordinals are a data structure that is used in order to run terms aggregations on keyword fields. They are loaded lazily ...
分类:
其他好文 时间:
2019-12-19 13:21:41
阅读次数:
172
1008 Elevator 题目: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at whi ...
分类:
其他好文 时间:
2019-12-17 20:52:13
阅读次数:
121
毫秒级实现状态监测. 参考了aiobfd ,看了协议文档, 协议帧,包编码解码,用了gopacket的bfd.go , 然后就是实现 状态 init, up, down的监控. 主要的问题是,时间上,需要快速 的检查发送失败,以判断对端为down掉 时间上要对应得上来. 最后,实现了协议,当然是要用 ...
分类:
其他好文 时间:
2019-12-17 20:28:11
阅读次数:
88
//方式一: //四舍五入 double f = 111231.5585; BigDecimal b = new BigDecimal(f); double f1 = b.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue(); //保留两位小数 方式... ...
分类:
编程语言 时间:
2019-12-16 14:52:34
阅读次数:
71
题目链接 Given a m * n grid, where each cell is either 0 (empty) or 1 (obstacle). In one step, you can move up, down, left or right from and to an empty c ...
分类:
其他好文 时间:
2019-12-16 00:07:26
阅读次数:
126