Class DBLockImpl

  • All Implemented Interfaces:
    DBLock

    public abstract class DBLockImpl
    extends java.lang.Object
    implements DBLock
    • Constructor Summary

      Constructors 
      Constructor Description
      DBLockImpl​(LockType type, java.lang.String guid)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getGuid()  
      LockType getType()
      Tells whether this lock is shared.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DBLockImpl

        public DBLockImpl​(LockType type,
                          java.lang.String guid)
    • Method Detail

      • getGuid

        public java.lang.String getGuid()
      • getType

        public LockType getType()
        Description copied from interface: DBLock
        Tells whether this lock is shared.
        Specified by:
        getType in interface DBLock
        Returns:
        true if lock is shared, false if it is exclusive
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object