Java线程在运行的生命周期中可能处于表4-1所示的6种不同的状态,在给定的一个时刻,线程只能处于其中的一个状态。 表4-1 Java线程的状态 图4-1 Java线程状态变迁 文章:Java并发编程的艺术4.1.4 ...
分类:
编程语言 时间:
2020-07-22 15:42:48
阅读次数:
70
一.导入发送邮件的依赖 <!-- 发送邮件jar包--> <!--spring支持--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <vers ...
分类:
其他好文 时间:
2020-07-22 01:57:48
阅读次数:
143
propagation_required propagation_supports propagation_mandatory propagation_requires_new propagation_not_supported propagation_never propagation_neste ...
分类:
编程语言 时间:
2020-07-21 22:17:27
阅读次数:
56
一、什么是unittest unittest是Python单元测试框架,类似于JUnit框架。 unittest中有4个重要的概念:test fixture, test case, test suite, test runner Testcase: 一个TestCase的实例就是一个测试用例。什么是 ...
分类:
其他好文 时间:
2020-07-21 13:43:35
阅读次数:
68
RTTI是什么 Run Time Type Identification:运行时类型识别;通过运行时类型识别,程序能够使用基类的指针或引用来检查这些指针或引用所指向的对象的实际派生类型。 Human *phuman = new Men; Human &q = *phuman; 主要是通过两个运算符来 ...
分类:
编程语言 时间:
2020-07-21 09:35:20
阅读次数:
87
Introducing gRPC Support with NGINX 1.13.10 - NGINX https://www.nginx.com/blog/nginx-1-13-10-grpc/ 思考gRPC :为什么是HTTP/2 | 横云断岭的专栏 http://hengyunabc.gith ...
分类:
Web程序 时间:
2020-07-21 01:19:35
阅读次数:
73
{"msg":"Could not marshal [ResultVo [code=100, result=null, message=ok, exception=null, data=null]]: null; nested exception is javax.xml.bind.MarshalException\n - with linked exception:\n[com.sun.istack.SAXException2: unable to marshal type \"com.domain.ResultVo\" as an element because it is missing an @XmlRootElement annotation]","errorcode":2}
分类:
其他好文 时间:
2020-07-20 11:05:43
阅读次数:
87
zabbix_agentd.log报错,排除了zabbix_agentd.conf配置无问题,网络神马都是正常,,,此时陷入了无解之中,,,[root@glpi~]#tail-f/var/log/zabbix/zabbix_agentd.log32241:20200719:183516.887TLSsupport:YES32241:20200719:183516.887**32241:202007
分类:
其他好文 时间:
2020-07-20 11:02:42
阅读次数:
111
package LeetCode_1060 /** * 1060. Missing Element in Sorted Array * (Prime) * Given a sorted array A of unique numbers, find the K-th missing number s ...
分类:
其他好文 时间:
2020-07-19 00:49:27
阅读次数:
93
设置路由: use Illuminate\Support\Facades\Route; //设置路由访问控制器只能是get访问 // Route::get('/user','User@user'); // Route::get('/',function(){ // return 'hello wor ...
分类:
数据库 时间:
2020-07-18 19:57:39
阅读次数:
87