Package org.elasticsearch.index.engine
Class Engine.NoOpLock
- java.lang.Object
-
- org.elasticsearch.index.engine.Engine.NoOpLock
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNoOpLock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlock()voidlockInterruptibly()ConditionnewCondition()booleantryLock()booleantryLock(long time, TimeUnit unit)voidunlock()
-
-
-
Method Detail
-
lockInterruptibly
public void lockInterruptibly() throws InterruptedException- Specified by:
lockInterruptiblyin interfaceLock- Throws:
InterruptedException
-
tryLock
public boolean tryLock(long time, TimeUnit unit) throws InterruptedException- Specified by:
tryLockin interfaceLock- Throws:
InterruptedException
-
newCondition
public Condition newCondition()
- Specified by:
newConditionin interfaceLock
-
-