|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private public static interface TableLockManager.TableLock
A distributed lock for a table.
Method Summary | |
---|---|
void |
acquire()
Acquire the lock, with the configured lock timeout. |
void |
release()
Release the lock already held. |
Method Detail |
---|
void acquire() throws IOException
LockTimeoutException
- If unable to acquire a lock within a specified
time period (if any)
IOException
- If unrecoverable error occursvoid release() throws IOException
IOException
- If there is an unrecoverable error releasing the lock
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |