📄 potentialdeadlockexception.java
字号:
/* PotentialDeadLockException.java{{IS_NOTE Purpose: Description: History: Fri Dec 5 10:53:52 2003, Created by tomyeh}}IS_NOTECopyright (C) 2003 Potix Corporation. All Rights Reserved.{{IS_RIGHT This program is distributed under GPL Version 2.0 in the hope that it will be useful, but WITHOUT ANY WARRANTY.}}IS_RIGHT*/package org.zkoss.lang;/** * Denote a potential dead lock might occur. * More precisely, it occurs if a transaction is waiting a lock too long. * * <p>How it happens:<br> * Transaction A writes bean X and transaction B writes bean Y, and then * A tries to read or write bean Y and B tries to read or write bean X. * * <p>This exception shall be rare, because CmpManager sorted beans to * be updated in a special order. However, it still might happen, because * a transaction might trigger multiple syncBeans. * * @author tomyeh */public class PotentialDeadLockException extends OperationException { public PotentialDeadLockException(String msg, Throwable cause) { super(msg, cause); } public PotentialDeadLockException(String s) { super(s); } public PotentialDeadLockException(Throwable cause) { super(cause); } public PotentialDeadLockException() { } public PotentialDeadLockException(int code, Object[] fmtArgs, Throwable cause) { super(code, fmtArgs, cause); } public PotentialDeadLockException(int code, Object fmtArg, Throwable cause) { super(code, fmtArg, cause); } public PotentialDeadLockException(int code, Object[] fmtArgs) { super(code, fmtArgs); } public PotentialDeadLockException(int code, Object fmtArg) { super(code, fmtArg); } public PotentialDeadLockException(int code, Throwable cause) { super(code, cause); } public PotentialDeadLockException(int code) { super(code); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -