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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addLock​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Transactional method to make a lock on the specified node ref.
      void refreshAllLocks()  
      void removeLock​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
      Transactional method to remove a lock on the specified node ref.
    • Method Detail

      • addLock

        void addLock​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Transactional method to make a lock on the specified node ref.
        Parameters:
        nodeRef -
      • removeLock

        void removeLock​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Transactional method to remove a lock on the specified node ref.
        Parameters:
        nodeRef -
      • refreshAllLocks

        void refreshAllLocks()