Package | Description |
---|---|
org.apache.hadoop.hbase.master | |
org.apache.hadoop.hbase.master.locking | |
org.apache.hadoop.hbase.procedure2 |
Modifier and Type | Method and Description |
---|---|
void |
MasterCoprocessorHost.postRequestLock(String namespace,
TableName tableName,
RegionInfo[] regionInfos,
LockType type,
String description) |
void |
MasterCoprocessorHost.preRequestLock(String namespace,
TableName tableName,
RegionInfo[] regionInfos,
LockType type,
String description) |
Modifier and Type | Field and Description |
---|---|
private LockType |
LockManager.MasterLock.type |
private LockType |
LockProcedure.type |
Modifier and Type | Method and Description |
---|---|
LockType |
LockProcedure.getType() |
Modifier and Type | Method and Description |
---|---|
LockManager.MasterLock |
LockManager.createMasterLock(String namespace,
LockType type,
String description) |
LockManager.MasterLock |
LockManager.createMasterLock(TableName tableName,
LockType type,
String description) |
long |
LockManager.RemoteLocks.requestNamespaceLock(String namespace,
LockType type,
String description,
NonceKey nonceKey) |
long |
LockManager.RemoteLocks.requestTableLock(TableName tableName,
LockType type,
String description,
NonceKey nonceKey) |
Constructor and Description |
---|
LockProcedure(org.apache.hadoop.conf.Configuration conf,
LockType type,
String description,
CountDownLatch lockAcquireLatch) |
LockProcedure(org.apache.hadoop.conf.Configuration conf,
RegionInfo[] regionInfos,
LockType type,
String description,
CountDownLatch lockAcquireLatch)
Constructor for region lock(s).
|
LockProcedure(org.apache.hadoop.conf.Configuration conf,
String namespace,
LockType type,
String description,
CountDownLatch lockAcquireLatch)
Constructor for namespace lock.
|
LockProcedure(org.apache.hadoop.conf.Configuration conf,
TableName tableName,
LockType type,
String description,
CountDownLatch lockAcquireLatch)
Constructor for table lock.
|
MasterLock(String namespace,
LockType type,
String description) |
MasterLock(TableName tableName,
LockType type,
String description) |
Modifier and Type | Field and Description |
---|---|
private LockType |
LockedResource.lockType |
Modifier and Type | Method and Description |
---|---|
LockType |
LockedResource.getLockType() |
static LockType |
LockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockType[] |
LockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.LockServiceProtos.LockType |
ProcedureUtil.convertToProtoLockType(LockType lockType) |
Constructor and Description |
---|
LockedResource(LockedResourceType resourceType,
String resourceName,
LockType lockType,
Procedure<?> exclusiveLockOwnerProcedure,
int sharedLockCount,
List<Procedure<?>> waitingProcedures) |
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.