@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 java.io.IOException
LockTimeoutException - If unable to acquire a lock within a specified
time period (if any)java.io.IOException - If unrecoverable error occursvoid release()
throws java.io.IOException
java.io.IOException - If there is an unrecoverable error releasing the lock