public class LockNameType extends LockName
| Constructor and Description |
|---|
LockNameType(LockType type,
String... lockName)
LockNameType public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LockType |
getLockType()
Get the type
LockType of the lock. |
public LockNameType(LockType type, String... lockName)
type - Type of the lock LockTypelockName - Lock name hierarchy. At least one name is mandatory. The
last String is considered to be the key. Multiple strings are to for the
application purpose to identify a lock uniquely. For example, in case of
a row level lock of a database, the argument passed would be TBL1, ROW1.
Here ROW1 would be the key name and it is a key under the table TBL1.Copyright © 2014. All Rights Reserved.