public interface JdbcDistributedLockDialect
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(JdbcClientPool connections,
Options options) |
boolean |
lockAcquire(JdbcClientPool connections,
String lockId,
long timeoutMillSeconds) |
boolean |
releaseLock(JdbcClientPool connections,
String lockId) |
int |
tryReleaseTimedOutLock(JdbcClientPool connections,
String lockId) |
void createTable(JdbcClientPool connections, Options options) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionboolean lockAcquire(JdbcClientPool connections, String lockId, long timeoutMillSeconds) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionboolean releaseLock(JdbcClientPool connections, String lockId) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionint tryReleaseTimedOutLock(JdbcClientPool connections, String lockId) throws SQLException, InterruptedException
SQLExceptionInterruptedExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.