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 Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.flink.maintenance.api.TriggerLockFactory
TriggerLockFactory.Lock - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
JdbcLockFactory
Creates a newTriggerLockFactory. The lockId should be unique between the users of the same uri.- Parameters:
 uri- of the jdbc connectionlockId- which should indentify the job and the tableproperties- used for creating the jdbc connection pool
 
 - 
 - 
Method Details
- 
open
public void open()- Specified by:
 openin interfaceTriggerLockFactory
 - 
createLock
- Specified by:
 createLockin interfaceTriggerLockFactory
 - 
createRecoveryLock
- Specified by:
 createRecoveryLockin interfaceTriggerLockFactory
 - 
close
- Specified by:
 closein interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Throws:
 IOException
 
 -