Package org.apache.camel.support
Class NoLock
- java.lang.Object
-
- org.apache.camel.support.NoLock
-
-
Constructor Summary
Constructors Constructor Description NoLock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lock()
void
lockInterruptibly()
Condition
newCondition()
boolean
tryLock()
boolean
tryLock(long time, TimeUnit unit)
void
unlock()
-
-
-
Field Detail
-
INSTANCE
public static final Lock INSTANCE
-
-
Method Detail
-
lockInterruptibly
public void lockInterruptibly()
- Specified by:
lockInterruptibly
in interfaceLock
-
newCondition
public Condition newCondition()
- Specified by:
newCondition
in interfaceLock
-
-