Package | Description |
---|---|
edu.berkeley.cs186.database.concurrency |
Modifier and Type | Method and Description |
---|---|
static LockManager.LockType |
LockManager.LockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockManager.LockType[] |
LockManager.LockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
LockManager.acquireLock(String tableName,
long transNum,
LockManager.LockType lockType)
Acquires a lock on tableNum of type lockType for transaction transNum.
|
boolean |
LockManager.holdsLock(String tableName,
long transNum,
LockManager.LockType lockType)
Returns a boolean indicating whether or not transNum holds a lock of type lockType on tableName.
|
Copyright © 2017. All rights reserved.