Class LockConfig
java.lang.Object
org.apache.iceberg.flink.maintenance.api.LockConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLockConfig
(Table table, Map<String, String> writeOptions, org.apache.flink.configuration.ReadableConfig readableConfig) -
Method Summary
Modifier and TypeMethodDescriptionGets the configuration value for initializing the JDBC lock table.jdbcUri()
Gets the JDBC URI configuration value.Gets the lock ID configuration value.lockType()
Gets the lock type configuration value (e.g., jdbc or zookeeper).int
Gets the Zookeeper base sleep time configuration (in milliseconds).int
Gets the Zookeeper connection timeout configuration (in milliseconds).int
Gets the Zookeeper maximum retry count configuration.int
Gets the Zookeeper session timeout configuration (in milliseconds).zkUri()
Gets the Zookeeper URI configuration value.
-
Field Details
-
PREFIX
- See Also:
-
LOCK_TYPE_OPTION
-
LOCK_ID_OPTION
-
-
Constructor Details
-
LockConfig
-
-
Method Details
-
lockType
Gets the lock type configuration value (e.g., jdbc or zookeeper). -
lockId
Gets the lock ID configuration value. If blank, returns the provided default value. -
jdbcUri
Gets the JDBC URI configuration value. -
jdbcInitTable
Gets the configuration value for initializing the JDBC lock table. -
zkUri
Gets the Zookeeper URI configuration value. -
zkSessionTimeoutMs
public int zkSessionTimeoutMs()Gets the Zookeeper session timeout configuration (in milliseconds). -
zkConnectionTimeoutMs
public int zkConnectionTimeoutMs()Gets the Zookeeper connection timeout configuration (in milliseconds). -
zkBaseSleepMs
public int zkBaseSleepMs()Gets the Zookeeper base sleep time configuration (in milliseconds). -
zkMaxRetries
public int zkMaxRetries()Gets the Zookeeper maximum retry count configuration. -
properties
-