Class StripedNodeDocumentLocks
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.locks.StripedNodeDocumentLocks
-
- All Implemented Interfaces:
NodeDocumentLocks
public class StripedNodeDocumentLocks extends java.lang.Object implements NodeDocumentLocks
-
-
Constructor Summary
Constructors Constructor Description 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.
-
-
-
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 interfaceNodeDocumentLocks
- Parameters:
key
- a key.- Returns:
- the acquired lock for the given key.
-
-