Class LockInfo


  • public class LockInfo
    extends java.lang.Object
    Author:
    Bela Ban
    • Constructor Summary

      Constructors 
      Constructor Description
      LockInfo​(java.lang.String name, boolean is_trylock, boolean lock_interruptibly, boolean use_timeout, long timeout, java.util.concurrent.TimeUnit time_unit)  
    • Field Detail

      • name

        protected final java.lang.String name
      • is_trylock

        protected final boolean is_trylock
      • lock_interruptibly

        protected final boolean lock_interruptibly
      • use_timeout

        protected final boolean use_timeout
      • timeout

        protected final long timeout
      • time_unit

        protected final java.util.concurrent.TimeUnit time_unit
    • Constructor Detail

      • LockInfo

        public LockInfo​(java.lang.String name,
                        boolean is_trylock,
                        boolean lock_interruptibly,
                        boolean use_timeout,
                        long timeout,
                        java.util.concurrent.TimeUnit time_unit)
    • Method Detail

      • isTrylock

        public boolean isTrylock()
      • isLockInterruptibly

        public boolean isLockInterruptibly()
      • isUseTimeout

        public boolean isUseTimeout()
      • getName

        public java.lang.String getName()
      • getTimeout

        public long getTimeout()
      • getTimeUnit

        public java.util.concurrent.TimeUnit getTimeUnit()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object