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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongvoidclose()longintlongvoidinitialize(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, waitMethods 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:LockManagerInitialize lock manager from catalog properties.- Specified by:
initializein interfaceLockManager- Parameters:
properties- catalog properties
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-