Package org.apache.iceberg.util
Class LockManagers.BaseLockManager
java.lang.Object
org.apache.iceberg.util.LockManagers.BaseLockManager
- All Implemented Interfaces:
AutoCloseable
,LockManager
- Direct Known Subclasses:
DynamoDbLockManager
- Enclosing class:
LockManagers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
void
close()
long
int
long
void
initialize
(Map<String, String> properties) Initialize lock manager from catalog properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.iceberg.LockManager
acquire, release
-
Constructor Details
-
BaseLockManager
public BaseLockManager()
-
-
Method Details
-
heartbeatTimeoutMs
public long heartbeatTimeoutMs() -
heartbeatIntervalMs
public long heartbeatIntervalMs() -
acquireIntervalMs
public long acquireIntervalMs() -
acquireTimeoutMs
public long acquireTimeoutMs() -
heartbeatThreads
public int heartbeatThreads() -
scheduler
-
initialize
Description copied from interface:LockManager
Initialize lock manager from catalog properties.- Specified by:
initialize
in interfaceLockManager
- Parameters:
properties
- catalog properties
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-