升级步骤1. 关闭balancer登陆mongos,执行sh.stopBalancer(),或者连接到mongos>use config>db.settings.update( { _id: "balancer" }, { $set : { stopped: true } } , true );关闭...
分类:
其他好文 时间:
2015-05-06 16:56:45
阅读次数:
126
一、Fragment的生命周期初探因为Fragment必须嵌入在Acitivity中使用,所以Fragment的生命周期和它所在的Activity是密切相关的。如果Activity是暂停状态,其中所有的Fragment都是暂停状态;如果Activity是stopped状态,这个Activity中所有...
分类:
移动开发 时间:
2015-05-05 19:22:44
阅读次数:
10094
前段时间在调试代码的过程中,调试器无法跟踪到变量的值并报异常,AnisometryT Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, p...
分类:
编程语言 时间:
2015-04-28 22:14:04
阅读次数:
1093
unfortunately has stopped,Intent(),Mainifest,cannot be resolved or is not a field;ID definitions *must* be of the form @+id/name; try using
分类:
其他好文 时间:
2015-04-27 23:13:16
阅读次数:
164
在 3.1 版本以后,新安装而从未启动过的app不能收到系统的广播(启动完成,网络状态变化之类的);
解决方案:
1. 将app做成系统应用,直接安装在 system/app 目录下
2. 通过第三方应用,发送带 FLAG_INCLUDE_STOPPED_PACKAGES 的广播给stop状态的自己...
分类:
其他好文 时间:
2015-04-27 18:26:55
阅读次数:
172
>Erlang machine stopped instantly (distribution name conflict?). The service is not restarted as OnFail is set to ignore.-报错解决方案 原来是NNND。。。 RabbitMQ安装...
分类:
系统相关 时间:
2015-04-21 11:08:11
阅读次数:
1907
问题:从事WEB开发你或许会遇到过这种情况,当你想删掉工程,重新DOWN项目再布到tomcat上跑项目时会发现一个错误出现,大致就是80端口被占用的问题,然后你就立即看了一下tomcat,之前布上去的项目已经被删掉了,而且tomcat也显示stopped,然后就机制地在任务管理器(Task Mana...
分类:
编程语言 时间:
2015-04-20 11:05:00
阅读次数:
134
链接:ZOJ1239Hanoi Tower Troubles Again!DescriptionPeople stopped moving discs from peg to peg after they know the number of steps needed to complete the...
分类:
其他好文 时间:
2015-04-17 21:55:36
阅读次数:
173
linux提供的fg和bg命令,可以让我们轻松调度正在运行的任务 假如你发现前天运行的一个程序需要很长的时间,但是需要干前天的事情,你就可以用ctrl-z挂起这个程序,然后可以看到系统的提示:[1]+ Stopped /root/bin/rsync.sh 然后我们可以吧程序调度到后台执行:(bg 作...
分类:
其他好文 时间:
2015-04-15 19:12:17
阅读次数:
143
一、说明 Activity主要的三种状态: Running(运行):在屏幕前台(位于当前任务堆栈的顶部) Paused(暂停):失去焦点但仍然对用户可见(覆盖Activity可能是透明或未完全遮挡) Stopped(停止):完全被另一个Activity覆盖 ...
分类:
移动开发 时间:
2015-03-31 10:38:35
阅读次数:
133