Class LockInfo


  • public class LockInfo
    extends Object
    Lock description.
    Author:
    Yury Molchan
    • Field Detail

      • NO_LOCK

        public static final LockInfo NO_LOCK
    • Method Detail

      • getLockedAt

        public Instant getLockedAt()
        Get date/time when the lock was set.
        Returns:
        date when the lock was set
      • getLockedBy

        public String getLockedBy()
        Returns an identification who or what sets the lock. If a user cannot be determined then the empty String will be returned.
      • isLocked

        public boolean isLocked()