jvisualVM profiling分析
用jdk1.6自带的JVisualVM版本好像比较低,最好用比较新的,比如我用过1.3.1 2. to profile a remote app such as in a remote linux machine, we need to start JMX port in remote ap...
[转] 同步与异步 阻塞与非阻塞IO
摘自:http://leili.iteye.com/blog/1580466 阻塞与非阻塞区别是读写IO时是否设置了文件描述符的属性O_NONBLOCK。 如果设置了该属性,io操作立刻返回但不保证IO读写成功。 同步与非同步同步模式下调用者要么一直等阻塞IO返回结果;要么主动轮询非阻塞...
平移数组中部分连续元素
O(n)时间复杂度,平移数组中部分连续元素假设数组(X,Y),一共N个元素。X是数组前K个元素,Y是后N-K个元素。现在需要将前K个元素循环右移,变成(Y,X). 方法是:(Y,X) = (X’,Y’)’ X’ 指对数组X中元素逆序。这样可以在常数时间内移动K个元素。
设计原则
SOLIDSRPA Single Responsibility Principle A class should have one, and only one, reason to change. OCPA module should be open for extension bu...
jdk泛型
泛型不是协变的1List<Object> 不是 List<String> 的父类型。 问号 类型通配符List 是任何泛型 List 的父类型,所以您可以将 List、List 或 List 代入方法参数是List地方 但是把List类型的变量赋给List后不...
PMBOK 学习笔记
PMBOK(Project Management Body of Knowledge)PMBOK Guide divides into 44 processes that fall into 5 process groups. 5 process groups are: Initiating:...
Scope Management
Scope management means figuring out what’s out of scope, not just what’s part of scope. five scope management processes: 1. scope planning output: ...
Time Management - Schedule Development Process
Schedule Development Process It is the core of time management. it’s the process where you put it all together. input: Resource Calendar/Netwo...
Cost Management
Cost Estimationg process input: Scope Statement WBS WBS Dictionary Project Management Plan Organization Process Assets Enterprise Environmental Fa...
Time Management
Time Management Time Management is all about breaking the work down into activities, so you can put them in order and come up with estimates for ea...