LockType
- the type of lockpublic class LockRequest<LockType> extends Object
Constructor and Description |
---|
LockRequest(LockType type,
Object h)
Creates a new lock request.
|
Modifier and Type | Method and Description |
---|---|
Object |
holder()
Obtains the holder of the lock.
|
String |
toString() |
LockType |
type()
Obtains the type of lock.
|
Copyright © 2015. All rights reserved.