public class Threads { /** * sleep等待,单位为毫秒,忽略InterruptedException. */ public static void sleep(long millis) { try { Thread.sleep(millis); } catch (Int ...
分类:
编程语言 时间:
2020-07-27 23:33:18
阅读次数:
73
本文将介绍在ASP.Net Core中处理异常的几种方法 1使用开发人员异常页面(The developer exception page) 2配置HTTP错误代码页 Configuring status code pages 3使用MVC过滤器 ExceptionFilter 4 自定义异常捕获中 ...
分类:
Web程序 时间:
2020-07-27 09:46:04
阅读次数:
103
HDFS概述 HDFS产出背景及定义 HDFS优缺点 HDFS组成架构 HDFS文件块大小(面试重点) MapReduce概述 MapReduce定义 MapReduce优缺点 优点 缺点 MapReduce核心思想 1)分布式的运算程序往往需要分成至少2个阶段。 2)第一个阶段的MapTask并发 ...
分类:
其他好文 时间:
2020-07-26 23:01:30
阅读次数:
83
传送门 A Poker Time limit: 1000ms Memory limit: 262144k (wls视频讲解地址) 如果这次交换能够使得这个人手上的牌的点数的期望变大,他就会选择交换(只考虑这次交换,不考虑之后的人的情况)。四个人互相知道他们所有人都使用了这个策略。 题意四个人四张牌, ...
分类:
其他好文 时间:
2020-07-26 19:35:40
阅读次数:
65
题目相关链接传送门: 1.https://blog.csdn.net/justidle/article/details/104593327?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-5&spm=1001.2101.3001.42 ...
分类:
其他好文 时间:
2020-07-26 19:07:56
阅读次数:
66
题目描述 The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair ...
分类:
其他好文 时间:
2020-07-26 15:22:02
阅读次数:
59
https://blog.csdn.net/wangshuaiwsws95/article/details/105427315?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.cha ...
分类:
其他好文 时间:
2020-07-26 01:35:30
阅读次数:
76
gulpfile.js gulp.task('watch', function () { gulp.watch('./css/*.css',['css']); gulp.watch('./html/*.html',['html']); gulp.watch('./image/*.*',['image ...
分类:
其他好文 时间:
2020-07-26 00:14:30
阅读次数:
75
https://blog.csdn.net/RunzIyy/article/details/104635680?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.channel_par ...
分类:
数据库 时间:
2020-07-25 11:46:02
阅读次数:
129
背景: 项目性能问题有一个明显的表征是CPU占用率持续超高>98%,与之前baseline(平均稳定在70%~80%)有明显差异。 急需了解常见情景可能造成CPU占用率过高。 参考: https://blog.csdn.net/dingjianmin/article/details/85705812 ...
分类:
编程语言 时间:
2020-07-25 11:27:20
阅读次数:
71