Class BambooLocks.CloseableLock
- java.lang.Object
-
- com.atlassian.bamboo.utils.concurrent.BambooLocks.CloseableLock
-
- Enclosing class:
- BambooLocks
public static class BambooLocks.CloseableLock extends Object
-
-
Constructor Summary
Constructors Constructor Description CloseableLock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BambooLocks.AutoCloseableLock
lock()
void
tryLock(long timeout, TimeUnit unit)
-
-
-
Method Detail
-
lock
public BambooLocks.AutoCloseableLock lock()
-
tryLock
public void tryLock(long timeout, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-