Interface LockStore

All Known Implementing Classes:
AbstractLockStore, LockStoreImpl

public interface LockStore
Defines the in-memory lock storage interface.

Operations MUST be thread-safe.

Author:
Matt Ward
  • Method Details

    • get

      LockState get(NodeRef nodeRef)
    • set

      void set(NodeRef nodeRef, LockState lockState)
    • getNodes

      Set<NodeRef> getNodes()
    • clear

      void clear()
      WARNING: only use in test code - unsafe method for production use. TODO: remove this method?