| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.client.locking | |
| org.apache.hadoop.hbase.regionserver | 
| Modifier and Type | Method and Description | 
|---|---|
| EntityLock | LockServiceClient. namespaceLock(String namespace,
             String description,
             Abortable abort)LocCreate a new EntityLock object to acquire exclusive lock on a namespace. | 
| EntityLock | LockServiceClient. regionLock(List<RegionInfo> regionInfos,
          String description,
          Abortable abort)Create a new EntityLock object to acquire exclusive lock on multiple regions of same tables. | 
| EntityLock | LockServiceClient. tableLock(TableName tableName,
         boolean exclusive,
         String description,
         Abortable abort)Create a new EntityLock object to acquire an exclusive or shared lock on a table. | 
| Modifier and Type | Method and Description | 
|---|---|
| EntityLock | RegionServerServices. regionLock(List<RegionInfo> regionInfos,
          String description,
          Abortable abort)Master based locks on namespaces/tables/regions. | 
| EntityLock | HRegionServer. regionLock(List<RegionInfo> regionInfos,
          String description,
          Abortable abort) | 
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.