Class JdbcLockFactory
java.lang.Object
org.apache.iceberg.flink.maintenance.api.JdbcLockFactory
- All Implemented Interfaces:
- Closeable,- Serializable,- AutoCloseable,- TriggerLockFactory
JDBC table backed implementation of the 
TriggerLockFactory.- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.iceberg.flink.maintenance.api.TriggerLockFactoryTriggerLockFactory.Lock
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
INIT_LOCK_TABLES_PROPERTY- See Also:
 
 
- 
- 
Constructor Details- 
JdbcLockFactoryCreates a newTriggerLockFactory. The lockId should be unique between the users of the same uri.- Parameters:
- uri- of the jdbc connection
- lockId- which should identify the job and the table
- properties- used for creating the jdbc connection pool
 
 
- 
- 
Method Details- 
openpublic void open()- Specified by:
- openin interface- TriggerLockFactory
 
- 
createLock- Specified by:
- createLockin interface- TriggerLockFactory
 
- 
createRecoveryLock- Specified by:
- createRecoveryLockin interface- TriggerLockFactory
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Throws:
- IOException
 
 
-