public class Lock extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
forceLock(String lockedBy,
long timeToLive,
TimeUnit unit) |
void |
forceUnlock() |
LockInfo |
info() |
boolean |
tryLock(String lockedBy) |
boolean |
tryLock(String lockedBy,
long time,
TimeUnit unit) |
void |
unlock() |
Copyright © 2004–2021 OpenL Tablets. All rights reserved.