Package org.elasticsearch.index.engine
Class Engine.NoOpLock
java.lang.Object
org.elasticsearch.index.engine.Engine.NoOpLock
- All Implemented Interfaces:
Lock
- Enclosing class:
- Engine
A Lock implementation that always allows the lock to be acquired
-
Constructor Details
-
NoOpLock
protected NoOpLock()
-
-
Method Details
-
lock
public void lock() -
lockInterruptibly
- Specified by:
lockInterruptibly
in interfaceLock
- Throws:
InterruptedException
-
tryLock
public boolean tryLock() -
tryLock
- Specified by:
tryLock
in interfaceLock
- Throws:
InterruptedException
-
unlock
public void unlock() -
newCondition
- Specified by:
newCondition
in interfaceLock
-