guava所提供的这些真正意义来讲不属于Map 1.Multimap:key重复,但是value返回数组业务场景:封装成Map后,要对某一个key进行分组平铺 Multimap<String,String> multimap = HashMultimap.create(); multimap.put ...
分类:
其他好文 时间:
2021-04-01 13:00:49
阅读次数:
0
def jobName = "预发布-Server-5050" //删除小于64的构建历史 def maxNumber = 25 Jenkins.instance.getItemByFullName(jobName).builds.findAll { it.number <= maxNumber } ...
分类:
其他好文 时间:
2021-03-31 12:32:54
阅读次数:
0
1,mysql重置root密码。 编辑配置文件 /etc/my.cnf ,在[mysqld]后面任意一行添加“skip-grant-tables”用来跳过密码验证 接下来我们需要重启MySQL,使用service mysqld restart 进入mysql中重置密码, mysql> update ...
分类:
数据库 时间:
2021-03-31 12:22:32
阅读次数:
0
ctrl+C : 复制 ctrl+V : 粘贴 ctrl+A : 全选 ctrl+X : 剪切 ctrl+Z : 撤回 ctrl+S : 保存 ctrl+P : 打印 Alt+F4 : 关闭当前窗口 Shift+Delete : 永久删除 Win+R :打开运行窗口,输入cmd后,打开命令行窗口 W ...
分类:
其他好文 时间:
2021-03-31 12:07:32
阅读次数:
0
创建用户create user pidms_user identified by 'pidms_user';添加权限grant all privileges on *.* to pidms_user@'%' identified by 'kcm123456'; flush privileges; ...
分类:
数据库 时间:
2021-03-31 12:06:09
阅读次数:
0
作者个人研发的在高并发场景下,提供的简单、稳定、可扩展的延迟消息队列框架,具有精准的定时任务和延迟队列处理功能。自开源半年多以来,已成功为十几家中小型企业提供了精准定时调度方案,经受住了生产环境的考验。为使更多童鞋受益,现给出开源框架地址: https://github.com/sunshinely ...
分类:
数据库 时间:
2021-03-31 12:03:26
阅读次数:
0
1.缓存工具 from django.core.cache import cache 存储缓存数据:cache.set('key', 内容, 有效期) 读取缓存数据:cache.get('key') 删除缓存数据:cache.delete('key') 注意:存储进去和读取出来的数据类型相同,所以读 ...
分类:
其他好文 时间:
2021-03-31 11:41:12
阅读次数:
0
背景: Pod处于Terminating 排查: 1、kubectl delete pod pod名 依旧是无法拉为Running状态 2、kubectl get node 输出显示两个Node是NotReady 3、两个节点ip可ping通,登陆到节点上执行 systemctl restart d ...
分类:
其他好文 时间:
2021-03-30 13:49:24
阅读次数:
0
APR(Apache portable Run-time libraries,Apache可移植运行库) 主要为上层的应用程序提供一个可以跨越多操作系统平台使用的底层支持接口库。在早期的Apache版本中,应用程序本身必须能够处理各种具体操作系统平台的细节,并针对不同的平台调用不同的处理函数 随着A ...
分类:
其他好文 时间:
2021-03-30 13:47:07
阅读次数:
0
TYPES: BEGIN OF ty_mara, srno LIKE adrc-name1, " Storing the total text matnr LIKE mara-matnr, " Material ersda LIKE mara-ersda, " Creation date ernam ...
分类:
其他好文 时间:
2021-03-30 13:34:48
阅读次数:
0