Class LockException

  • All Implemented Interfaces:
    java.io.Serializable, ExceptionInfo

    public class LockException
    extends StoreException
    Exception indicating that locks on one or more objects could not be acquired.
    Since:
    0.3.1
    Author:
    Marc Prud'hommeaux
    See Also:
    Serialized Form
    • Constructor Detail

      • LockException

        public LockException​(java.lang.Object failed)
      • LockException

        public LockException​(java.lang.Object failed,
                             int timeout)
      • LockException

        public LockException​(java.lang.Object failed,
                             int timeout,
                             int lockLevel)
    • Method Detail

      • getTimeout

        public int getTimeout()
        The number of milliseconds to wait for a lock.
      • setTimeout

        public LockException setTimeout​(int timeout)
        The number of milliseconds to wait for a lock.
      • setLockLevel

        public void setLockLevel​(int lockLevel)
      • getLockLevel

        public int getLockLevel()