Class BambooLocks
java.lang.Object
com.atlassian.bamboo.utils.concurrent.BambooLocks
- Direct Known Subclasses:
BambooLocks
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K> com.google.common.cache.LoadingCache<K,
BambooLocks.CloseableLock> static BambooLocks.CloseableLock
Creates a newBambooLocks.CloseableLock
, capable of generating autocloseable lockedLock
instances.static com.google.common.cache.LoadingCache<Object,
ReentrantLock> static com.google.common.cache.LoadingCache<Object,
ReentrantReadWriteLock>
-
Constructor Details
-
BambooLocks
protected BambooLocks()
-
-
Method Details
-
closeableLockFactory
public static <K> com.google.common.cache.LoadingCache<K,BambooLocks.CloseableLock> closeableLockFactory() -
weakReentrantLockFactory
-
weakReentrantReadWriteLockFactory
public static com.google.common.cache.LoadingCache<Object,ReentrantReadWriteLock> weakReentrantReadWriteLockFactory() -
newCloseableLock
Creates a newBambooLocks.CloseableLock
, capable of generating autocloseable lockedLock
instances.
-