Class LockManager
java.lang.Object
org.apache.hadoop.hbase.master.locking.LockManager
Functions to acquire lock on table/namespace/regions.
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Locks on namespace/table/regions.class
Locks on namespace/table/regions for remote operations. -
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private final HMaster
private final LockManager.RemoteLocks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateMasterLock
(String namespace, LockType type, String description) createMasterLock
(RegionInfo[] regionInfos, String description) createMasterLock
(TableName tableName, LockType type, String description) private void
submitProcedure
(LockProcedure proc, NonceKey nonceKey)
-
Field Details
-
LOG
-
master
-
remoteLocks
-
-
Constructor Details
-
LockManager
-
-
Method Details
-
remoteLocks
-
createMasterLock
-
createMasterLock
public LockManager.MasterLock createMasterLock(TableName tableName, LockType type, String description) -
createMasterLock
-
submitProcedure
-