@InterfaceAudience.Private public static interface TableLockManager.TableLock
Modifier and Type | Method and Description |
---|---|
void |
acquire()
Acquire the lock, with the configured lock timeout.
|
void |
release()
Release the lock already held.
|
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