javafx.concurrency并发包是为方便javafx Application Thread也就是javafx的UI线程与后台线程安全交互的工具包。
接口:Worker.
Worker接口封装了Worker.State枚举作为Worker的状态:READY,SCHEDULED,RUNNING,SUCCEDED,FAILED,CANCELLED.
Worker拥有下面这些只读prope...
分类:
编程语言 时间:
2014-05-01 21:51:52
阅读次数:
691
by:rhythmk.cnblogs.com1、Hibernate 三种状态:
1.1、三种定义(个人理解,不一定准确): 瞬时状态(transient): 被session接管但不存在数据库中的对象状态 离线状态 (detached):
数据库中存在而不被session接管 ...
分类:
系统相关 时间:
2014-05-01 18:48:02
阅读次数:
486
1.使用QuerySting在页面间传递值
2.使用Session变量...
分类:
其他好文 时间:
2014-05-01 17:27:48
阅读次数:
331
What is Health Monitoring?Health Monitoring is
a framework for monitoring status of running ASP.NET applications and logging
significant ASP.NET appli...
分类:
Web程序 时间:
2014-05-01 12:37:12
阅读次数:
525
Global.asa 常用于对变量进行初始化。
下面的例子展示如何检测访问者首次到达站点的确切时间。时间存储在名为 "started" 的 Session 对象中,并且 "started"
变量的值可被应用程序中的任何 ASP 页面访问: Global.asa 也可用于控制页面访问。 ...
分类:
其他好文 时间:
2014-05-01 12:12:07
阅读次数:
347
限制并发select的patch,代码量很少,主要是为了学习mysql的源码,yy一下。增加两个全局控制变量:
thread_limit_min thread_limit_max增加一个条件变量: COND_thread_running_limit增加一个新的错误码:
concurr...
分类:
数据库 时间:
2014-05-01 07:14:13
阅读次数:
576
public class SessionListener implements HttpSessionListener {
static Logger log = Logger.getLogger(
SessionListener.class.getName());
private static Map map = new
HashMap(); ...
分类:
编程语言 时间:
2014-04-30 22:31:38
阅读次数:
397
经常会遇到一个会话中存在sql性能问题,但无法定位哪一个sql导致DB性能问题较高,这是我们需要对这个session进行监控可以通过dbms_monitor包来实现。
首先确定要监控的会话sid及serial#,可以通过v$session视图获得
select sid, serial#, username from v$session where ...
确定session...
分类:
数据库 时间:
2014-04-30 22:23:38
阅读次数:
413
问题现象:
Eclipse按装maven插件之后,每次启动Eclipse都会弹出:
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
问题原因:
从提示信息上看,就是...
分类:
系统相关 时间:
2014-04-30 22:11:38
阅读次数:
382
org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not...
分类:
系统相关 时间:
2014-04-29 13:15:20
阅读次数:
411