@InterfaceAudience.Private public final class LockManager extends Object
Modifier and Type | Class and Description |
---|---|
class |
LockManager.MasterLock
Locks on namespace/table/regions.
|
class |
LockManager.RemoteLocks
Locks on namespace/table/regions for remote operations.
|
Constructor and Description |
---|
LockManager(HMaster master) |
Modifier and Type | Method and Description |
---|---|
LockManager.MasterLock |
createMasterLock(RegionInfo[] regionInfos,
String description) |
LockManager.MasterLock |
createMasterLock(String namespace,
LockType type,
String description) |
LockManager.MasterLock |
createMasterLock(TableName tableName,
LockType type,
String description) |
LockManager.RemoteLocks |
remoteLocks() |
public LockManager(HMaster master)
public LockManager.RemoteLocks remoteLocks()
public LockManager.MasterLock createMasterLock(String namespace, LockType type, String description)
public LockManager.MasterLock createMasterLock(TableName tableName, LockType type, String description)
public LockManager.MasterLock createMasterLock(RegionInfo[] regionInfos, String description)
Copyright © 2007–2019 Cloudera. All rights reserved.