| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.util | 
| Modifier and Type | Field and Description | 
|---|---|
| private ConcurrentMap<Long,IdLock.Entry> | IdLock. map | 
| Modifier and Type | Method and Description | 
|---|---|
| IdLock.Entry | IdLock. getLockEntry(long id)Blocks until the lock corresponding to the given id is acquired. | 
| IdLock.Entry | IdLock. tryLockEntry(long id,
            long time)Blocks until the lock corresponding to the given id is acquired. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | IdLock. releaseLockEntry(IdLock.Entry entry)Must be called in a finally block to decrease the internal counter and remove the monitor
 object for the given id if the caller is the last client. | 
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.