public class KeyedLock<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected ThreadLocal<org.elasticsearch.common.util.concurrent.KeyedLock.KeyLock> |
threadLocal |
Modifier and Type | Method and Description |
---|---|
void |
acquire(T key) |
boolean |
hasLockedKeys() |
void |
release(T key) |
protected final ThreadLocal<org.elasticsearch.common.util.concurrent.KeyedLock.KeyLock> threadLocal
Copyright © 2009–2016. All rights reserved.