| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException org.zkoss.lang.SystemException org.zkoss.lang.OperationException org.zkoss.lang.PotentialDeadLockException
PotentialDeadLockException | public class PotentialDeadLockException extends OperationException (Code) | | Denote a potential dead lock might occur.
More precisely, it occurs if a transaction is waiting a lock too long.
How it happens:
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.
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 |
PotentialDeadLockException | public PotentialDeadLockException(String s)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(Throwable cause)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException()(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(int code, Object[] fmtArgs, Throwable cause)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(int code, Object fmtArg, Throwable cause)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(int code, Object[] fmtArgs)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(int code, Object fmtArg)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(int code, Throwable cause)(Code) | | |
PotentialDeadLockException | public PotentialDeadLockException(int code)(Code) | | |
Fields inherited from org.zkoss.lang.SystemException | protected int _code(Code)(Java Doc)
|
Methods inherited from org.zkoss.lang.SystemException | final public int getCode()(Code)(Java Doc)
|
|
|