Interface LockKeeper

All Known Implementing Classes:
LockKeeperImpl

public interface LockKeeper
The lock keeper tracks multiple locks on files open via the file system protocols. There can be multiple locks on the same file, the lock keeper keeps track of the individual locks and delegates to the LockService
Author:
mrogers
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addLock(NodeRef nodeRef)
    Transactional method to make a lock on the specified node ref.
    void
     
    void
    Transactional method to remove a lock on the specified node ref.
  • Method Details

    • addLock

      void addLock(NodeRef nodeRef)
      Transactional method to make a lock on the specified node ref.
      Parameters:
      nodeRef -
    • removeLock

      void removeLock(NodeRef nodeRef)
      Transactional method to remove a lock on the specified node ref.
      Parameters:
      nodeRef -
    • refreshAllLocks

      void refreshAllLocks()