public interface LockChecker
| Modifier and Type | Method and Description |
|---|---|
String |
getMetaInfo(int id) |
boolean |
isLockFree(int id) |
boolean |
obtainLock(int id,
String metaInfo) |
boolean |
releaseLock(int id) |
boolean isLockFree(int id)
boolean obtainLock(int id,
String metaInfo)
throws IOException
IOExceptionboolean releaseLock(int id)
String getMetaInfo(int id) throws IOException
IOExceptionCopyright © 2024. All rights reserved.