Class AbstractLockStore<T extends ConcurrentMap<NodeRef,​LockState>>

    • Constructor Detail

      • AbstractLockStore

        public AbstractLockStore​(T map)
    • Method Detail

      • clear

        public void clear()
        Description copied from interface: LockStore
        WARNING: only use in test code - unsafe method for production use. TODO: remove this method?
        Specified by:
        clear in interface LockStore
      • getTxMap

        protected Map<NodeRef,​LockState> getTxMap()
        Returns a transactionally scoped Map that is used to provide repeatable lock store queries for a given NodeRef. If no transaction is present, then null is returned.
        Returns:
        Transactional Map or null if not available.