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
SQLException
InterruptedException
boolean lockAcquire(JdbcClientPool connections, String lockId, long timeoutMillSeconds) throws SQLException, InterruptedException
SQLException
InterruptedException
boolean releaseLock(JdbcClientPool connections, String lockId) throws SQLException, InterruptedException
SQLException
InterruptedException
int tryReleaseTimedOutLock(JdbcClientPool connections, String lockId) throws SQLException, InterruptedException
SQLException
InterruptedException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.