public class Lock extends Object
| Constructor and Description |
|---|
Lock() |
| Modifier and Type | Method and Description |
|---|---|
int |
lock()
Locks the monitor and returns the lock count.
|
void |
unlock()
Unlocks the monitor.
|
Copyright © 2017. All Rights Reserved.