Class PotentialDeadLockException

All Implemented Interfaces:
Serializable, Expectable, Messageable, MessageConst

public class PotentialDeadLockException extends OperationException
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
See Also:
  • Constructor Details

    • PotentialDeadLockException

      public PotentialDeadLockException(String msg, Throwable cause)
    • PotentialDeadLockException

      public PotentialDeadLockException(String s)
    • PotentialDeadLockException

      public PotentialDeadLockException(Throwable cause)
    • PotentialDeadLockException

      public PotentialDeadLockException()
    • PotentialDeadLockException

      public PotentialDeadLockException(int code, Object[] fmtArgs, Throwable cause)
    • PotentialDeadLockException

      public PotentialDeadLockException(int code, Object fmtArg, Throwable cause)
    • PotentialDeadLockException

      public PotentialDeadLockException(int code, Object[] fmtArgs)
    • PotentialDeadLockException

      public PotentialDeadLockException(int code, Object fmtArg)
    • PotentialDeadLockException

      public PotentialDeadLockException(int code, Throwable cause)
    • PotentialDeadLockException

      public PotentialDeadLockException(int code)