程序包 | 说明 |
---|---|
org.apache.hadoop.hbase.util |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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–2019 The Apache Software Foundation. All rights reserved.