Class StripedNodeDocumentLocks

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.locks.Lock acquire​(java.lang.String key)
      Acquires a lock for the given key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StripedNodeDocumentLocks

        public StripedNodeDocumentLocks()
    • Method Detail

      • acquire

        public java.util.concurrent.locks.Lock acquire​(java.lang.String key)
        Description copied from interface: NodeDocumentLocks
        Acquires a lock for the given key.
        Specified by:
        acquire in interface NodeDocumentLocks
        Parameters:
        key - a key.
        Returns:
        the acquired lock for the given key.