java多线程例子编写具有多线程能力的程序经常会用到的方法有: run(), start(),
wait(), notify(), notifyAll(), sleep(), yield(), join() 还有一个重要的关键字:synchronized
本文将对以上内容进行讲解。 一:ru...
分类:
编程语言 时间:
2014-05-16 04:28:51
阅读次数:
494
在Oracle/PLSQL中,instr函数返回要截取的字符串在源字符串中的位置。instr是一个非常好用的字符串处理函数,几乎所有的字符串分隔都用到此函数。。语法如下:
instr( string1, string2, start_position,nth_appearance ) strin.....
分类:
其他好文 时间:
2014-05-16 03:33:52
阅读次数:
262
启动:net start mySql; 进入:mysql -u root -p/mysql
-h localhost -u root -p databaseName; 列出数据库:show databases; 选择数据库:use
databaseName; 列出表格:show tables...
分类:
数据库 时间:
2014-05-15 21:36:56
阅读次数:
366
Row_number配合over(partition by xx order by xx) 与
Group by 的区别, = order + group?SqlBulkCopyGuidance Automation Toolkit 2010
Reference
分类:
其他好文 时间:
2014-05-15 20:39:55
阅读次数:
249
IPV6的优势1.更大地址空间,IPV6采用了128bit的地址长度,可以提供2^128个地址。2.IPV6包头长度为固定40个字节,IPV4是40~60个字节;这样容易实现硬件式转发,提高转发效率3.IPV6包头比IPV4包头简化,取消了网络层的校验工作,提高了网络层效率4.引入灵活的扩展头,使得IPV6的..
分类:
其他好文 时间:
2014-05-15 18:51:42
阅读次数:
1066
在eclipse启动tomcat时遇到超时45秒的问题:
Server Tomcat v7.0 Server at localhost was unable to startwithin 45 seconds. If the server requires more time, try increasingthe timeout in the server editor.
网上解决办法...
分类:
其他好文 时间:
2014-05-15 18:31:36
阅读次数:
242
PHP生成指定大小随机图片 $image_width){ for ($i=$start;
$i<$image_height * 2; $i+=$step) { imageline($img, 0, $i, $i, 0,
$color); }}else{ for ($i=$start; $i<$im....
分类:
Web程序 时间:
2014-05-15 17:42:03
阅读次数:
377
//该类用于计算操作的耗时.publicclassRunTime{DateTimestart=DateTime.Now;TimeSpanelapsed=newTimeSpan(0);publicoverridestringToString(){elapsed=(DateTime.Now-start)...
分类:
其他好文 时间:
2014-05-15 13:54:14
阅读次数:
273
第一步vim/etc/sysctl.conf
net.ipv4.tcp_keepalive_time=1800
net.ipv4.tcp_keepalive_probes=5
net.ipv4.tcp_keepalive_intvl=15
net.core.rmem_max=167772160
net.core.wmem_max=167772160
net.ipv4.tcp_rmem=409687380167772160
net.ipv4.tcp_wmem=409665536167772160
net...
分类:
其他好文 时间:
2014-05-15 12:32:43
阅读次数:
248
当月的数据select * from MOPICK where
dateDiff(m,getdate(),START_DATE)=0
分类:
数据库 时间:
2014-05-15 11:37:10
阅读次数:
562