public class BambooLocks extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BambooLocks.AutoCloseableLock |
static class |
BambooLocks.CloseableLock |
Modifier and Type | Method and Description |
---|---|
static BambooLocks.CloseableLock |
newCloseableLock()
Creates a new
BambooLocks.CloseableLock , capable of generating autocloseable locked Lock instances. |
static com.google.common.cache.LoadingCache<Object,ReentrantLock> |
weakReentrantLockFactory() |
static com.google.common.cache.LoadingCache<Object,ReentrantReadWriteLock> |
weakReentrantReadWriteLockFactory() |
public static com.google.common.cache.LoadingCache<Object,ReentrantLock> weakReentrantLockFactory()
public static com.google.common.cache.LoadingCache<Object,ReentrantReadWriteLock> weakReentrantReadWriteLockFactory()
public static BambooLocks.CloseableLock newCloseableLock()
BambooLocks.CloseableLock
, capable of generating autocloseable locked Lock
instances.Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.