http://blog.csdn.net/anhuidelinger/article/details/11746365终止线程的三种方法 有三种方法可以使终止线程。 1. 使用退出标志,使线程正常退出,也就是当run方法完成后线程终止。 2. 使用stop方法强行终止线程(这个方法不推荐使用,因为s...
分类:
编程语言 时间:
2014-09-02 15:42:04
阅读次数:
293
1)按时间筛选mysqlbinlog --start-datetime="2009-09-14 0:20:00" --stop-datetim="2009-09-15 01:25:00" xxx_db-bin.0000012)按位置删选mysqlbinlog --start-position=13....
分类:
数据库 时间:
2014-09-02 15:33:54
阅读次数:
221
一些函数方法常用的动词:get 获取/set 设置, add 增加/remove 删除create 创建/destory 移除 start 启动/stop 停止open 打开/close 关闭, read 读取/write 写入load 载入/save 保存, create 创建/destroy 销...
分类:
Web程序 时间:
2014-09-02 13:48:54
阅读次数:
159
安装&配置Nexus解压后,应该获得如下目录结构:nexus-2.0.6是nexus服务主目录sonatype-work是真正的仓库,同时包含了nexus的配置,如定时任务、用户配置等 nexus支持如下命令:引用nexus { console | start | stop | restart | ...
分类:
其他好文 时间:
2014-09-02 12:12:04
阅读次数:
365
原博文 http://caibaojian.com/sliderdown-slideup.html 只是为了自己学习处理导航时会遇到鼠标迅速移上去,迅速移开,然后就会发现,下来菜单逐渐消失,最后移上去的时甚至是不显示了。只要将里面的第一个stop()改为stop(true,true).第二个stop...
分类:
Web程序 时间:
2014-09-02 12:11:24
阅读次数:
385
对于unknown的进程要crs_stop-f加进程名杀掉,后在star1删除机器上的/etc/oracle/scls_scr/rac1/oracle/cssfatal文件如果不删这个文件,运行root.sh脚本时会报错。然后重新运行下$ORA_CRS_HOME/root.sh脚本2有时候开机启不起来可以先杀了这个进程试下/etc/init.d/init.ohasd使..
分类:
其他好文 时间:
2014-09-02 10:37:15
阅读次数:
259
1.安装apache2
安装命令:sudo apt-get install apache2
启动/停止/重启apache2: service apache2 start/stop/restart
2. 卸载apache2
之前卸载重新安装后找不到apache2.conf配置文件,测试使用一下方式卸载后可用。
(1) $ sudo apt-get --purge re...
分类:
其他好文 时间:
2014-09-01 14:09:13
阅读次数:
160
关闭ExecutorService
ExecutorService提供了两种关闭方法,使用Shutdown正常关闭,以及使用ShutdownNow强行关闭。在进行强行关闭时,shutdownNow首先关闭当前正在执行的任务。然后返回所有尚未启动的任务清单 。
返回未启动任务清单这句没明白返回的方式,于是去查看了一下源码
/**
* Attempts to stop all ...
分类:
编程语言 时间:
2014-09-01 01:41:33
阅读次数:
335
先将mysql安装bin目录(例如:c:xxx\xxx\mysql\bin 加入环境变量)1、在命令行窗口下输入net stop mysql5 或 net stop mysql 2、开一个命令行窗口,然后输入mysqld -nt --skip-grant-tables; 3、再开一个DOS窗口,my...
分类:
数据库 时间:
2014-08-31 17:15:01
阅读次数:
267
首先停止mysql服务: sudo?/etc/init.d/mysql?stop 修改mysql的配置文件: sudo?gedit?/etc/mysql/my.cnf 找到客户端配置[client] 在下面添加 #默认字符集为utf8
default-character-set=utf8 找到[mysqld] 添...
分类:
数据库 时间:
2014-08-30 19:15:50
阅读次数:
246